permissions of a partition on USB stick not changing as root even
Nils Kassube
kassube at gmx.net
Thu Jan 6 07:20:20 UTC 2011
Tapas Mishra wrote:
> I am having a USB disk.
> I want to change the permissions of folder on it from 700 to 755
> (and all subdirectories in it)
The FAT32 file system doesn't know Linux (Unix) permissions. You could
only change the permissions with the mount option "umask=022" (I think
this would be the right one, but I didn't try it myself) when mounting
the partition. Or maybe you want the dmask mount option? See "man 8
mount" for details. Anyway, it is a setting available only for the
entire partition, not individual directory trees and on the next machine
the permissions are gone. If you really need Linux permissions, use a
Linux file system like ext2.
Nils
More information about the ubuntu-users
mailing list