Regular permissions dialog for items on vfat disabled
For some reason, all objects on my two vfat partitions (mounted using the following fstab lines) have their regular Access Permissions comboboxes disabled. Only the advanced permissions are available. Why is this and what can I do to re-enable the regular permissions? /dev/sda1 /win/c vfat user,uid=samjnaa,gid=users,umask=033 0 0 /dev/sda5 /win/d vfat user,uid=samjnaa,gid=users,umask=033 0 0 P.S: I want to enable rwx permissions by default for all items on my vfat partitions for my user. The above settings do not seem to be able to do it. Please advise on what to do. Thank you, Shriramana Sharma.
On 10/13/05, Shriramana Sharma
For some reason, all objects on my two vfat partitions (mounted using the following fstab lines) have their regular Access Permissions comboboxes disabled. Only the advanced permissions are available. Why is this and what can I do to re-enable the regular permissions?
/dev/sda1 /win/c vfat user,uid=samjnaa,gid=users,umask=033 0 0 /dev/sda5 /win/d vfat user,uid=samjnaa,gid=users,umask=033 0 0
P.S: I want to enable rwx permissions by default for all items on my vfat partitions for my user. The above settings do not seem to be able to do it. Please advise on what to do.
Thank you,
Shriramana Sharma.
try with umask=000 -- -- Svetoslav Milenov (Sunny)
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.
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)
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?
Right: the umask command is used to determine the default file creation mode on your system. If you change it, the files created before this change will keep their current permissions (fortunately).
Friday 14 Oct 2005 20:39 samaye Gaël Lams alekhiit:
Right: the umask command is used to determine the default file creation mode on your system. If you change it, the files created before this change will keep their current permissions (fortunately).
Well that's actually unfortunate for me. What I want is for my vfat partitions to be like my own home partition rwxr--r-- throughout. One time by mistake I mounted it with some other umask (I think) and it keeps remembering that and even if I set umask=033 now it does not give rwxr--r-- to the files. So how do I make the system forget the permissions of the inodes in the Windows partition? If I start up my machine once without mounting the Windows partition will that do? P.S: I tried using chmod -Rf 0744 /win with mixed success...
participants (3)
-
Gaël Lams
-
Shriramana Sharma
-
Sunny