[plug] mounting Fat32 drives, permission problems...

Craig Ringer craig at postnewspapers.com.au
Fri Jul 11 10:20:14 WST 2003


> Put umask=000 in the mount options.  This will give all permissions to
> everyone for all files and directories.  You should then be able to
> restrict permissions with samba if you need to.

Or, STRONGLY preferable, mount with the options
	umask=007,uid=0,gid=1000
where gid= should point to the numeric group id of a group you want to 
be allowed to write to the share. Add everybody who should be able to 
write to the share to that group. This will mount with file permissions

If at all possible, NEVER use world-writeable flags, at least unless 
your server has no keyboard or mouse, the serial ports have been 
unplugged and it has no NIC or hope of any kind of networking.

Craig Ringer




More information about the plug mailing list