View previous topic :: View next topic |
Author |
Message |
UrbanNightmare n00b
Joined: 20 Jul 2002 Posts: 9
|
Posted: Sat Sep 03, 2005 1:41 pm Post subject: fstab make writeable by all |
|
|
Hello all. I've been searching all over for this but can't find it. What I want to do is mount my external firewire harddrive so that it is writeable by any user. Currently its being mounted as root:root and has permissions of rwxr-xr-x and this is my fstab line so far.
/dev/sda1 /mnt/external ext3 noauto,exec,suid,rw,users 1 0
Thanks for any help
Urban |
|
Back to top |
|
|
RlC Guru
Joined: 30 Jul 2005 Posts: 358 Location: austria
|
Posted: Sat Sep 03, 2005 2:08 pm Post subject: |
|
|
add "gid=disk" and add the users that should have access on it to "disk" in /etc/group |
|
Back to top |
|
|
UrbanNightmare n00b
Joined: 20 Jul 2002 Posts: 9
|
Posted: Sat Sep 03, 2005 5:05 pm Post subject: Not so much |
|
|
I now have a group called disk and added gid=disk to the fstab line.
/dev/sda1 /mnt/external ext3 gid=disk,noauto,exec,suid,rw,users 1 0
Its giving me this error now.
mount: wrong fs type, bad option, bad superblock on /dev/sda1,
or too many mounted file systems
I tried a couple of other groups and got the same error. I've also tried a uid={my login name} and same error.
I'm running a udev 2.6.11 kernel if that emerged from gentoo if that makes any difference.
Urban |
|
Back to top |
|
|
RlC Guru
Joined: 30 Jul 2005 Posts: 358 Location: austria
|
Posted: Sun Sep 04, 2005 1:30 pm Post subject: |
|
|
RlC wrote: | add "gid=disk" and add the users that should have access on it to "disk" in /etc/group |
oh... works not with ext3 :?
i think you have to Code: | chgrp -R disk /mnt/sda1/ |
|
|
Back to top |
|
|
neuron Advocate
Joined: 28 May 2002 Posts: 2371
|
Posted: Sun Sep 04, 2005 1:49 pm Post subject: |
|
|
if it's ext3, skip the uid/gid and chmod/chown stuff on the disk/directory you mount it. |
|
Back to top |
|
|
UrbanNightmare n00b
Joined: 20 Jul 2002 Posts: 9
|
Posted: Sun Sep 04, 2005 4:01 pm Post subject: |
|
|
And with that everything works fine.
Thanks for your help
Urban |
|
Back to top |
|
|
|