[gentoo-user] user/grpup spec.

2011-01-02 Thread meino . cramer

Hi,

I noticed that I have files in my $HOME, which I have created as user
(me) which owner is set to (user.group)

mcc.users

other files, also owned by my are set to

mcc.mcc

. What is the current way to do this correctly ?

Best regards,
mcc






Re: [gentoo-user] user/grpup spec.

2011-01-02 Thread Alan McKinnon
Apparently, though unproven, at 06:26 on Monday 03 January 2011, 
meino.cra...@gmx.de did opine thusly:

> Hi,
> 
> I noticed that I have files in my $HOME, which I have created as user
> (me) which owner is set to (user.group)
> 
> mcc.users
> 
> other files, also owned by my are set to
> 
> mcc.mcc
> 
> . What is the current way to do this correctly ?
> 
> Best regards,
> mcc

Change your primary group to affect new files:

usermod -g users mcc

To change all existing files and dirs to match:

chgrp -R users ~


-- 
alan dot mckinnon at gmail dot com