On Mon, Feb 15, 2010 at 09:22:24AM +0000, Martijn Koster wrote:
Chris G wrote:
I suppose there *is* a possible reason for this. If, say, user 'chris' wants to make his files available to other users then those other users can be added to group 'chris'. This is more specific than having to add them to group 'users' which would give them access to files of any user in group 'users'.
That's not a good idea, because that group has rights for *all* your files, not just the ones you want to share.
No it doesn't, it depends on which files you give group read/write permissions to. So if my umask is set up to allow only me to see my files I get:-
-rw------- 1 chris chris 938 2010-02-01 14:06 23-09-2009-13-25.rst -rw------- 1 chris chris 477 2010-02-01 14:05 27-10-2009-23-11.rst -rw------- 1 chris users 4754 2008-11-26 10:39 GA-EG31M-S2 -rw------- 1 chris users 4700 2008-11-26 10:39 GA-EG31MF-S2
Then I decide I want some user to see GA-EG31M-S2, I change the permissions for that file to:-
-rw-r----- 1 chris users 4754 2008-11-26 10:39 GA-EG31M-S2
(OK, those are some old files with 'users' group but the idea is right)