2009/5/20 Neil Greenwood <neil.greenwood....@gmail.com>:
> If you create more than one user in each installation, you have to
> create them in the same order so that they get the same UIDs - if you
> don't, this is the only time you should have to use the chown/chgrp
> commands, although chown will change group too (just to confuse you
> even more!).

FWIW, chown won't change the group by default. e.g

chown -R fred /home/bob

Will change the ownership of all bob's files to fred, but not the group. Whereas

chown -R fred:fred /home/bob

or, as a shortcut:

chown -R fred: /home/bob

Will change both the owner and the groups.

-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/

Reply via email to