Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
fstab make writeable by all
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
UrbanNightmare
n00b
n00b


Joined: 20 Jul 2002
Posts: 9

PostPosted: Sat Sep 03, 2005 1:41 pm    Post subject: fstab make writeable by all Reply with quote

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
View user's profile Send private message
RlC
Guru
Guru


Joined: 30 Jul 2005
Posts: 358
Location: austria

PostPosted: Sat Sep 03, 2005 2:08 pm    Post subject: Reply with quote

add "gid=disk" and add the users that should have access on it to "disk" in /etc/group
Back to top
View user's profile Send private message
UrbanNightmare
n00b
n00b


Joined: 20 Jul 2002
Posts: 9

PostPosted: Sat Sep 03, 2005 5:05 pm    Post subject: Not so much Reply with quote

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
View user's profile Send private message
RlC
Guru
Guru


Joined: 30 Jul 2005
Posts: 358
Location: austria

PostPosted: Sun Sep 04, 2005 1:30 pm    Post subject: Reply with quote

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
View user's profile Send private message
neuron
Advocate
Advocate


Joined: 28 May 2002
Posts: 2371

PostPosted: Sun Sep 04, 2005 1:49 pm    Post subject: Reply with quote

if it's ext3, skip the uid/gid and chmod/chown stuff on the disk/directory you mount it.
Back to top
View user's profile Send private message
UrbanNightmare
n00b
n00b


Joined: 20 Jul 2002
Posts: 9

PostPosted: Sun Sep 04, 2005 4:01 pm    Post subject: Reply with quote

And with that everything works fine.

Thanks for your help

Urban
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum