On 10/13/05, Shriramana Sharma
Thursday 13 Oct 2005 22:02 samaye Sunny alekhiit:
try with umask=000
But I don't want to give all the users full permissions, which is what would happen if I do as you suggest. I want to give rwxr--r-- permissions only.
I suspect that Linux is remembering the permissions of the file from *before* I added a umask to fstab and hence refusing to set new permissions by default.
Also, umask is said to be only the file **creation** mask. Perhaps it does not apply for pre-existing files?
Shriramana.
$cat /etc/fstab .... /dev/hde6 /windocuments vfat user,uid=1000,gid=1000,umask=033 0 0 $ls -l / .... drwxr--r-- 22 sunny winusers 16384 1969-12-31 18:00 windocuments So, it works for me. All the objects inside have the same rwxr--r-- permissions as well. You can not change this, as they inherit the umask of the mounting point. The only think you can do is to alter the permissions for the owning user, but not for the group or the world. -- -- Svetoslav Milenov (Sunny)