[ubuntu-uk] Some advice - permissions

Neil Greenwood neil.greenwood.lug at gmail.com
Tue May 26 09:15:58 BST 2009


2009/5/25 Lucy <lucybridges at gmail.com>:
> 2009/5/20 Neil Greenwood <neil.greenwood.lug at 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 at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
> https://wiki.ubuntu.com/UKTeam/
>

Lucy,

Thanks for clarifying. That's what I'd said in my head, but re-reading
it I wasn't as clear as I wanted to be. :-)

Cofion,
Neil.



More information about the ubuntu-uk mailing list