[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
btw, if dot in username, need colon in chown command
- To: misc@openbsd.org
- Subject: btw, if dot in username, need colon in chown command
- From: Paul Pruett <ppruett@webengr.com>
- Date: Fri, 6 Feb 2004 14:25:33 +0000 (GMT)
- Organization: Cocoa Village Publishing - www.cocoavillage.us
a little fyi on using dot in usernames....
it does work on openbsd, but have to use colon
with chown commands
I was trying names with a period on current and
ran into a difficulty using chown
chown somename.lastname file.txt
FAils.... lastname invalid group name
however this works
chown somename.lastname: file.txt
and this also works
chown somename.lastname:somename.lastname file.txt
----------------------
According to man page -
STANDARDS
Previous versions of the chown utility used the dot (`.') character
to distinguish the group name. This has been changed to be a colon (`:')
character so that user and group names may contain the dot character.