[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: problem ... experimenting



> I'm guessing that your USB device is a thumb drive
> formated as VFAT which as I recall would only show
> things as being owned by root.

this is not true at all. if you mounted it as root, yes, it will be  
owned by root. do 'man mount'. what you need in your /etc/fstab is  
something along the lines of:

/dev/XXX   /whever_you_want_it_mounted    
vfat	 
uid=userid_you_want_to_own_it,gid=groupid_you_want_to_own_it,umask=whate 
ver_you_want_the_permisssions_to_be,noauto	0	0

for example, my neuros (which is basically a usb harddrive when you get  
down to it has this entry:

/dev/sda1	/mnt/neuros	user,uid=nbirchler,gid=users,umask=007,noauto   0  
   0

This is going for memory, since my linux box is sitting in the closet  
right now, so like I said, 'man mount'. It's not hard to grok. Just  
look at the applicable filesystem section.

The line above should make the device user mountable, set ownership to  
nbirchler:users, set the permissions to rwxrwx---, and not mount it at  
boot time. Note that the permission bits are the opposite of what you  
would expect. I don't know why, but that is what has always worked for  
me.

neil


-
To unsubscribe, send email to majordomo@silug.org with
"unsubscribe silug-discuss" in the body.