On Thu, Mar 16, 2000 at 09:13:52AM +0100, Gustav Schaffter wrote:
| Danny wrote:
| > chown -R username:groupname /some/directory/
| > Instead of using username.group you should use username:groupname which is a
| > much better way of doing it.
| What's the advantage?

Well...

When BSD chown came out they allowed user.group to double up
(historically you had to go chown user, chgrp group). However, there
were places with dots in their login names (I recall a uni with login
accounts for subjects like 6.631 and I can well imagine people wanting
logins like fred.nerk instead of the more common fnerk etc). So... When
SysV adopted this behaviour they used the : as the delimiter, which is
robust since it's also the delimiter in the passwd file and thus you
can't specify login names containing colons.

Other than that greater generality there's no difference.
-- 
Cameron Simpson, DoD#743        [EMAIL PROTECTED]    http://www.zip.com.au/~cs/

Insisting on perfect safety is for people who don't have the balls to live
in the real world.      - Mary Shafer, NASA Ames Dryden


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to