Gentoo Archives: gentoo-user

From: Harm Geerts <harmgeerts@××××.nl>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: fstab devmode
Date: Sun, 27 Aug 2006 19:50:40
Message-Id: 200608272145.50125.harmgeerts@home.nl
In Reply to: [gentoo-user] fstab devmode by Joseph
1 On Sunday 27 August 2006 20:55, Joseph wrote:
2 > Can someone refresh my memory?
3 > I'm trying to mount usb memory stick with permission 600 but it is not
4 > taking devmode=0600
5 >
6 > The current command mounts it as 755
7 > /dev/sda1 /mnt/camera auto
8 > noauto,rw,users,exec
9 >
10 > I've tried:
11 > /dev/sda1 /mnt/camera auto
12 > noauto,devmode=0600
13 > but no luck.
14
15 devmode is only available for usbfs.
16
17 for vfat you can use umask, dmask and fmask.
18 umask=0077 should do what you want.
19 --
20 gentoo-user@g.o mailing list