Mailinglist Archive: opensuse (3470 mails)
| < Previous | Next > |
Question about umask in fstab
- From: "Steve Crane" <ndeyahnn02@xxxxxxxxxxxxxx>
- Date: Sat, 27 Sep 2003 11:49:48 +0200
- Message-id: <16461-82485@xxxxxxxxxxxxxx>
I have two FAT32 partitions mounted that are defined in /etc/fstab with
entries created when I installed SuSE 8.1. The umask option is set to
0002, which gives the files permissions of rwxrwxr-x. This is fine in
most cases except that ROX-filer, the file manager I use does not
correctly handle the MIME-type association if files are executable. So
when viewing a folder on one of these partitions I am not able to launch
the associated application with a single click and all icons are shown
as a gear, which is the ROX icon for executable files. This also
prevents thumbnails from being displayed for image files.
I need the file permissions on these partitions to be rw-rw-r-- and was
trying to adjust the umask value to provide this. I assumed I should
change the umask to 0113 to accomplish this but when I do I can't access
the files. When I run ls -l on the root of the mounted partition all
files report "permission denied".
If I change the umask to 0013 and remount the partition the files now
have permissions of rwxrw-r-- but ROX still sees them as executable,
even though the gid option is set to the users group. So it seems that
root also needs not to have executable permission but how do I achieve
this without making all the files inaccessible?
Any advice would be appreciated.
--
Steve Crane
http://craniac.afraid.org
entries created when I installed SuSE 8.1. The umask option is set to
0002, which gives the files permissions of rwxrwxr-x. This is fine in
most cases except that ROX-filer, the file manager I use does not
correctly handle the MIME-type association if files are executable. So
when viewing a folder on one of these partitions I am not able to launch
the associated application with a single click and all icons are shown
as a gear, which is the ROX icon for executable files. This also
prevents thumbnails from being displayed for image files.
I need the file permissions on these partitions to be rw-rw-r-- and was
trying to adjust the umask value to provide this. I assumed I should
change the umask to 0113 to accomplish this but when I do I can't access
the files. When I run ls -l on the root of the mounted partition all
files report "permission denied".
If I change the umask to 0013 and remount the partition the files now
have permissions of rwxrw-r-- but ROX still sees them as executable,
even though the gid option is set to the users group. So it seems that
root also needs not to have executable permission but how do I achieve
this without making all the files inaccessible?
Any advice would be appreciated.
--
Steve Crane
http://craniac.afraid.org
| < Previous | Next > |