RE: [SuSE Linux] How to chmod on FAT partition ?
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jean Luc, The FAT-file system does not have any facilities for file permissions other than 'read only' for everyone. I think the way Linux handles the file permissions on a FAT volume is by checking the permissions of the mount point (e.g. /mnt/win) Now, I'm not completely sure, but I think the way to give the FAT volume 777-permission all over (as said, it is not possible to do this on a per file basis), you shound chmod the mount point to 777.
Working under Windows and Linux , i need to modify some files on my FAT partitions but the mod of it is 755 so only root can write files when every user can read them, i tried to chmod 777 on that partition but it doesn't work. Can somebody tell me why ? What could i change to make it run ?
-----BEGIN PGP SIGNATURE----- Version: PGPfreeware 6.0.2i iQA/AwUBNwB4xorjBxwNMfVbEQLcNQCg8OGAKB+3UxAQzw1p4n+4gtDz8vMAoJ+0 AWOdiq7pFpyOdL0SeH5RBmEh =piXj -----END PGP SIGNATURE----- -- To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/"><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the archive at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html"><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>
Hi, On Tue, Mar 30, 1999 at 10:09 +0200, Wienen, Hans wrote:
The FAT-file system does not have any facilities for file permissions other than 'read only' for everyone. I think the way Linux handles the file permissions on a FAT volume is by checking the permissions of the mount point (e.g. /mnt/win) Now, I'm not completely sure, but I think the way to give the FAT volume 777-permission all over (as said, it is not possible to do this on a per file basis), you shound chmod the mount point to 777.
This wouldn't help. Try it and you'll see that the permissions of the mountpoint aren't visible after mounting: Before mounting: [root]/root# ls -ld /mnt/dosc/ drwx------ 2 sttr users 1024 Mar 19 23:47 /mnt/dosc/ And after mounting: [root]/root# mount -t vfat /dev/hda1 /mnt/dosc/ [root]/root# ls -ld /mnt/dosc/ drwxr-xr-x 16 root root 16384 Jan 1 1970 /mnt/dosc/ Use the umask option like this [root]/root# mount -o umask=000 -t vfat /dev/hda1 /mnt/dosc/ [root]/root# ls -ld /mnt/dosc/ drwxrwxrwx 16 root root 16384 Jan 1 1970 /mnt/dosc/ to give read/write/execute permission to everyone. Ciao, Stefan -- To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/"><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the archive at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html"><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>
participants (2)
-
stefan.troeger@wirtschaft.tu-chemnitz.de
-
WienenH@logica.com