Quote:
Originally posted by peacy
The umask won't solve the problem. Umask is used to set the default file creation mask.
You need to modify the /etc/fstab file. In the options column you should have 'defaults, user'. This allows read/write access to all the users and anyone can mount the file system. (The 'user' option is not really needed, but it's good to have it there.)
|
First, when using vfat you pass it the umask option when mounting, and those will be the default permissions (due to vfat not having any concept of permissions). ie. "mount -t vfat -o umask=000 /dev/foo /mnt/foo"
Second, the meaning of "defaults" is explained in the man page for mount:
Quote:
defaults
Use default options: rw, suid, dev, exec, auto, nouser, and async.
|
While the option "user" means that any user is allowed to mount the filesystem (as opposed to just root). In the man page it is defined as:
Quote:
users
Allow every user to mount and unmount the file system. This option implies the options noexec, nosuid, and nodev (unless overridden by subsequent options, as in the option line users,exec,dev,suid).
|
Neither of those options have anything to do with the default permission mask on a filesystem that doesn't support permissions.