Gentoo Archives: gentoo-user

From: Joseph <syscon@×××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: fstab devmode
Date: Mon, 28 Aug 2006 00:11:35
Message-Id: 1156723679.14288.3.camel@sysconcept.ca
In Reply to: [gentoo-user] Re: fstab devmode by Harm Geerts
1 On Mon, 2006-08-28 at 01:23 +0200, Harm Geerts wrote:
2 > On Sunday 27 August 2006 23:59, Joseph wrote:
3 > > Harm Geerts is right (thanks) "umask=0077" does what I need with dos
4 > > partition, when mounted, usb stick has a permission 700.
5 > > What would be an alternative for ext2 file system, umask doesn't work.
6 >
7 > I might be wrong but I'm guessing you want different permissions on the
8 > mountpoint.
9 >
10 > In that case you can simply `chmod 700 /mnt/your_stick` it with ext2 (while
11 > mounted).
12 > ext2 stores this and will use the same permissions the next mount.
13 > This is true for all filesystems that support permissions (which all normal
14 > linux filesystems do)
15 >
16 > umask is only intended to make up for the lack of file permissions on vfat.
17
18 Thanks for the explanation, I did that with "chown" on ext2 and it did
19 work.
20 It makes me wander if anybody experiment with other file systems
21 (besides dos, ext2) on on memory sticks?
22
23 --
24 #Joseph
25 --
26 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Re: fstab devmode Neil Bothwick <neil@××××××××××.uk>