Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Setting uid and gid for reserved blocks on ext3 [SOLVED]
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
selig
Guru
Guru


Joined: 31 Jul 2005
Posts: 425
Location: Prague, Czech Republic

PostPosted: Mon Apr 07, 2008 12:11 pm    Post subject: Setting uid and gid for reserved blocks on ext3 [SOLVED] Reply with quote

Hello, I'm having a tiny problem... so far I have not needed this, but now it would be quite handy: I want to set some user and/or some group to be able to use the reserved file system blocks in ext3. I set it via tune2fs -u xxx -g yyy, but the user still cannot write to a "full" file system and use the reserved blocks. Only root can still do that. Do I have to remount the partition or is there some other trick?
Thanks a lot!


Last edited by selig on Wed Apr 16, 2008 12:30 pm; edited 1 time in total
Back to top
View user's profile Send private message
BradN
Advocate
Advocate


Joined: 19 Apr 2002
Posts: 2391
Location: Wisconsin (USA)

PostPosted: Mon Apr 07, 2008 3:05 pm    Post subject: Reply with quote

Try the resgid= and resuid= mount options (via -o or in fstab)

good luck
Back to top
View user's profile Send private message
selig
Guru
Guru


Joined: 31 Jul 2005
Posts: 425
Location: Prague, Czech Republic

PostPosted: Wed Apr 16, 2008 12:30 pm    Post subject: Reply with quote

Works perfectly, thank you very much! It can even be modified on-the-fly with -o remount :D
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