Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] user/grpup spec.
Date: Mon, 03 Jan 2011 07:54:39
Message-Id: 201101030953.29460.alan.mckinnon@gmail.com
In Reply to: [gentoo-user] user/grpup spec. by meino.cramer@gmx.de
1 Apparently, though unproven, at 06:26 on Monday 03 January 2011,
2 meino.cramer@×××.de did opine thusly:
3
4 > Hi,
5 >
6 > I noticed that I have files in my $HOME, which I have created as user
7 > (me) which owner is set to (user.group)
8 >
9 > mcc.users
10 >
11 > other files, also owned by my are set to
12 >
13 > mcc.mcc
14 >
15 > . What is the current way to do this correctly ?
16 >
17 > Best regards,
18 > mcc
19
20 Change your primary group to affect new files:
21
22 usermod -g users mcc
23
24 To change all existing files and dirs to match:
25
26 chgrp -R users ~
27
28
29 --
30 alan dot mckinnon at gmail dot com