On 03-08-23 03:30 +0200, Roberto Sanchez wrote:
> You are not telling it who owns all the files.  FAT has no concept of users,
> groups, or other attributes (aside from RW and RO).  You must specify the UID
> or GID (uding gid=xxxx) you want assigned to all files on the file system when
> it is mounted.
> 
> /dev/hda7       /mnt/d          vfat    rw,user,uid=1000,noexec 0       0
> 

that is, if you're concerned about restricting access at all, correct? 

I've seen this response before & have always been a little confused. I
dual boot a laptop with win2k & just have the following in my /etc/fstab

/dev/hda1     /windows   vfat            noauto,user       0      0

I can `mount /windows` and write to it just fine

[EMAIL PROTECTED]:~$ echo "test">/windows/test.txt
[EMAIL PROTECTED]:~$ ls -l /windows
[ ...other stuff.. ]
-rwxr--r--    1 kenneth  kenneth         5 Aug 23 00:46 test.txt

I don't think I'm in any special windows-writing groups:
[EMAIL PROTECTED]:~/tmp$ groups
kenneth adm cdrom audio www-data src video xcdwrite scsi www-adm

for a laptop nobody else in the world is ever going to use, just
specifying 'user' is fine.. right? 

(I've given this out as advice before, so I just want to clarify, but if
I'm correct, the OP may be interested too)

thanks,
Kenneth



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to