On Mon, 2006-08-28 at 01:23 +0200, Harm Geerts wrote:
> 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.

Thanks for the explanation, I did that with "chown" on ext2 and it did
work. 
It makes me wander if anybody experiment with other file systems
(besides dos, ext2) on on memory sticks?

-- 
#Joseph
-- 
gentoo-user@gentoo.org mailing list

Reply via email to