Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Why are my permissions weird? [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
tel
Tux's lil' helper
Tux's lil' helper


Joined: 15 Aug 2006
Posts: 112

PostPosted: Mon Oct 05, 2009 10:58 pm    Post subject: Why are my permissions weird? [SOLVED] Reply with quote

Every time I create a new file, the file gets owned by me (as it should be), but the group is the group of another user. Shouldn't it also be me? If not, how can I change it so that all new files created by me in my home directory and owned by me AND are in my group?

Thanks!


Last edited by tel on Mon Oct 05, 2009 11:48 pm; edited 1 time in total
Back to top
View user's profile Send private message
Mike Hunt
Watchman
Watchman


Joined: 19 Jul 2009
Posts: 5287

PostPosted: Mon Oct 05, 2009 11:14 pm    Post subject: Reply with quote

Look at the output of
Code:
id <username>


is the gid the same as the group of your new files?

you can change that with the usermod command.
Back to top
View user's profile Send private message
tel
Tux's lil' helper
Tux's lil' helper


Joined: 15 Aug 2006
Posts: 112

PostPosted: Mon Oct 05, 2009 11:48 pm    Post subject: Reply with quote

Heh, heh. Thanks!

Problem solved.
Back to top
View user's profile Send private message
Mike Hunt
Watchman
Watchman


Joined: 19 Jul 2009
Posts: 5287

PostPosted: Mon Oct 05, 2009 11:54 pm    Post subject: Reply with quote

Cool, glad to help out :)
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