On Sunday 27 August 2006 23:59, Joseph wrote:
> Harm Geerts is right (thanks) "umask=0077" does what I need with dos
> partition, when mounted, usb stick has a permission 700.
> What would be an alternative for ext2 file system, umask doesn't work.

I might be wrong but I'm guessing you want different permissions on the 
mountpoint.

In that case you can simply `chmod 700 /mnt/your_stick` it with ext2 (while 
mounted).
ext2 stores this and will use the same permissions the next mount.
This is true for all filesystems that support permissions (which all normal 
linux filesystems do)

umask is only intended to make up for the lack of file permissions on vfat.
-- 
gentoo-user@gentoo.org mailing list

Reply via email to