View previous topic :: View next topic |
Author |
Message |
peka l33t
Joined: 16 Mar 2005 Posts: 773 Location: Płońsk, Poland
|
Posted: Thu Apr 06, 2006 5:00 pm Post subject: [SOLVED] How to mount ext3 storage partition rw for users? |
|
|
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 |
|
|
Sleipnir Guru
Joined: 20 Sep 2005 Posts: 372 Location: Germany
|
Posted: Thu Apr 06, 2006 5:06 pm Post subject: |
|
|
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 |
|
|
peka l33t
Joined: 16 Mar 2005 Posts: 773 Location: Płońsk, Poland
|
Posted: Thu Apr 06, 2006 5:22 pm Post subject: |
|
|
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 |
|
|
gruven n00b
Joined: 18 Jan 2005 Posts: 25 Location: Arkansas
|
Posted: Thu Apr 06, 2006 6:16 pm Post subject: |
|
|
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 |
|
|
Sleipnir Guru
Joined: 20 Sep 2005 Posts: 372 Location: Germany
|
Posted: Thu Apr 06, 2006 6:33 pm Post subject: |
|
|
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 |
|
|
peka l33t
Joined: 16 Mar 2005 Posts: 773 Location: Płońsk, Poland
|
Posted: Thu Apr 06, 2006 7:37 pm Post subject: |
|
|
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 |
|
|
boniek Guru
Joined: 26 Mar 2005 Posts: 373
|
Posted: Fri Apr 07, 2006 4:24 pm Post subject: |
|
|
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 | where GROUP is group with NUMBER as its gid _________________ [HOWTO]New freetype subpixel font rendering for lcd monitors |
|
Back to top |
|
|
|