Problems with mounting vfat in Debian
Hi all, A Linux-newbie speaking here and am a bit frustrated by the fact i cannot get a vfat mounted properly. I've added this line to my /etc/fstab "/dev/hdb1 /home/nil/redmond vfat defaults,user 0 0" I can mount it with the user but can only access it with root I mount (as nil) with : "mount /dev/hdb1" The ownership of the folder redmond bfor mounting is nil, but when the partition is mounted the ownership has changed 2 root. I cannot change the ownership of the folder with : chown nil redmond cause i get "chown: changing ownership of `redmond': Operation not permitted" as a reply Can anyone plze help this newbie on the right track? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Problems with mounting vfat in Debian
Thomas Adam wrote: On Wed, Aug 18, 2004 at 08:26:56PM +0200, NiL SpaaR wrote: I've added this line to my /etc/fstab "/dev/hdb1 /home/nil/redmond vfat defaults,user 0 0" What does: ls -l /dev/hdb1 produce? You should ensure that it is set with perms 660. Am on the way, hadn't thought of the accessrights 2 the original yet. (thnx) I changed it with "chmod 660 /dev/hdb1" ls -l /dev/hdb1 now gives me "brw-rw 1 nil disk 3, 65 Jul 22 21:54 /dev/hdb1" But, still ls -l /home/nil [snip] drwxr-xr-x 2 nil nil 4096 Aug 18 19:57 redmond before mount, and ls -l /home/nil [snip] drwxr--r-- 6 root root 8192 Jan 1 1970 redmond after mount. I would hate to turn grey over this @ the age of 25. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Problems with mounting vfat in Debian
Michael Satterwhite wrote: [snip] I have my Windows partition mounted as follows: /dev/hda1 /windows vfat users,gid=users,umask=0002,iocharset=utf8 0 0 Note that the gid is set at this point, it's then available for use by all members of that group. Took up the advice, and tried it (with the chmod change suggested by Thomas Adam) but to no avail :( Even tried a slight variant /dev/hdb1 /home/nil/redmond vfat users,uid=nil,umask=0002,iocharset=utf8 0 0 The man pages of fstab and mount tell me this should do the trick, but still am puzzled about the outcome -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Problems with mounting vfat in Debian
Replying myself?? Nah, just 2 express my gratitude Thank u all for your help, my fstab has been messy,messier, messiest (huh?), but now ith has the nice clean line that does the trick. With some help from thomas adam on irc.debian.org #debian I got it to "/dev/hdb1 /mntpnt vfat defaults,uid=1000,gid=1000,umask=002 0 0" (Never known 1 0 could induce so much headaches) I love adventuregames and the Linux-game Debian edition has been the best adventure so far ;) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]