Re: gid option on ext3 in fstab
- From: bmarcum@xxxxxxxxx (Bill Marcum)
- Date: Tue, 17 Oct 2006 18:55:14 -0400
On Tue, Oct 17, 2006 at 11:28:14PM +0200, Lars Staun Knudsen wrote:
HiThe gid and uid mount options only work with file systems such
I want all files on a partition, used as a nfs-share, to have
"utysket" as group. Earlier I had a script to run every second hour
to set the right group. But then i remembered the gid option in fstab.
/dev/hdc1 /Lager/01 ext3 gid=utysket,noexec,defaults
0 2
But it doesn't work:
main:~# mount /Lager/01/
mount: wrong fs type, bad option, bad superblock on /dev/hdc1,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
EXT3-fs: Unrecognized mount option "gid=1002" or missing value
I use the same option on my laptop (mounting vfat partition), and it
works. So i don't what to do different.
as vfat, which do not have a uid and gid for each file. Instead, you
could use "chmod g+s".
BTW how much real difference do extra mount option, such as noexecThey do what they say, not allowing exec, suid, etc. on a mounted file
and etc., do to enhance security?
system. Imagine if someone could mount a floppy or USB drive containing
an suid root shell.
--
Do you guys know we just passed thru a BLACK HOLE in space?
--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
- Follow-Ups:
- Re: gid option on ext3 in fstab[SOLVED]
- From: Lars Staun Knudsen
- Re: gid option on ext3 in fstab[SOLVED]
- References:
- gid option on ext3 in fstab
- From: Lars Staun Knudsen
- gid option on ext3 in fstab
- Prev by Date: Re: Finding hard links
- Next by Date: Re: Sound via ssh
- Previous by thread: gid option on ext3 in fstab
- Next by thread: Re: gid option on ext3 in fstab[SOLVED]
- Index(es):
Relevant Pages
|