Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] How to mount ext3 storage partition rw for users?
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
peka
l33t
l33t


Joined: 16 Mar 2005
Posts: 773
Location: Płońsk, Poland

PostPosted: Thu Apr 06, 2006 5:00 pm    Post subject: [SOLVED] How to mount ext3 storage partition rw for users? Reply with quote

How to mount ext3 storage partition rw for users?
_________________
p3k4

Seize the time, Meribor. Live now; make now always the most precious time. Now will never come again...
Jean-Luc Picard, Star Trek TNG - The Inner Light


Last edited by peka on Thu Apr 06, 2006 7:37 pm; edited 1 time in total
Back to top
View user's profile Send private message
Sleipnir
Guru
Guru


Joined: 20 Sep 2005
Posts: 372
Location: Germany

PostPosted: Thu Apr 06, 2006 5:06 pm    Post subject: Reply with quote

I think
Code:

/dev/<device>           <mountpoint>      ext3        users,dev,exec   0 0

should do the trick...
_________________
A)bort, R)etry, I)nfluence with large hammer.
Back to top
View user's profile Send private message
peka
l33t
l33t


Joined: 16 Mar 2005
Posts: 773
Location: Płońsk, Poland

PostPosted: Thu Apr 06, 2006 5:22 pm    Post subject: Reply with quote

Nope...
this:
/dev/hde14 /Dane ext3 users,dev,exec 0 0
does not work :(
_________________
p3k4

Seize the time, Meribor. Live now; make now always the most precious time. Now will never come again...
Jean-Luc Picard, Star Trek TNG - The Inner Light
Back to top
View user's profile Send private message
gruven
n00b
n00b


Joined: 18 Jan 2005
Posts: 25
Location: Arkansas

PostPosted: Thu Apr 06, 2006 6:16 pm    Post subject: Reply with quote

The way I do it is:

I put the partition in fstab like normal. Then I mount the partition, chown the partition to "root:whatever group I want" and give group write priveliges. Then I simply put the users in the group that I want to have access.

Hasn't failed me yet.
Back to top
View user's profile Send private message
Sleipnir
Guru
Guru


Joined: 20 Sep 2005
Posts: 372
Location: Germany

PostPosted: Thu Apr 06, 2006 6:33 pm    Post subject: Reply with quote

The user is able to mount the partition, but cannot write, is this correct?
Try the following (as root):
Code:

mount /Dane
ls -l | grep Dane
# if the permissions are not rwxrwxrwx do
chmod 0777 /Dane

_________________
A)bort, R)etry, I)nfluence with large hammer.
Back to top
View user's profile Send private message
peka
l33t
l33t


Joined: 16 Mar 2005
Posts: 773
Location: Płońsk, Poland

PostPosted: Thu Apr 06, 2006 7:37 pm    Post subject: Reply with quote

I thought of this but wanted more "proper solution"
I've chown-ed /Dane to be for root:users and chmod-ed to 775
Anyway: since it works...
_________________
p3k4

Seize the time, Meribor. Live now; make now always the most precious time. Now will never come again...
Jean-Luc Picard, Star Trek TNG - The Inner Light
Back to top
View user's profile Send private message
boniek
Guru
Guru


Joined: 26 Mar 2005
Posts: 373

PostPosted: Fri Apr 07, 2006 4:24 pm    Post subject: Reply with quote

Try something like this:
Code:
/dev/hde14               /Dane       auto    rw,users,gid=NUMBER,umask=007              0 0

Where NUMBER is number of a group you want to have full access to your partition. Before mounting /Dane do once -
Code:
chown root:GROUP /Dane
Code:
chmod 770 /Dane
where GROUP is group with NUMBER as its gid ;)
_________________
[HOWTO]New freetype subpixel font rendering for lcd monitors
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