> > After mounting my FAT32 partitions, all the files are marked executable. > > How can I mount them so that normal (non-directory) files are > > non-executable? > > In addition, I only want root to have write permission. All other users > > should only have read permission. > > > > Currently, I mounted with noexec option. But the files still appear to > > with permission -rwxrwxrwx. > > > > TIA. > > > > Cheers, > > Jeremy > > i have no win$ partition on my box, so i'm not sure of the answer. but as i > can remember, you can set permissions on your FAT32 partitions by specifying > umask in /etc/fstab for each of them. > if you want all files with 644 (or -rw-r--r--) then umask=133 > some can correct me if it's wrong... >
The moment I set umask with the execute bit turned on, all users cannot even cd into those vfat directories. However, root still can and the permissions are what I wanted -rw-r--r-- for regular files. What options will set the mounted partitions to have the following permissions: -rw-r--r-- root root for regular files drwxr-xr-x root root for directories I remembered I could do this in Mandrake 8.0 with the options noexec,mode=644 in /etc/fstab. However, in 8.1, this option doesn't seem to work for vfat patitions. However, it works for iso9660 for /dev/cdrom though. Cheers, J
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
