SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
@All , I've been using '.' as a user.group seperator for many years !
Because no users name could contain a '.' in it as it would , way back when , confuse the Shell that I had put a hostname to it to be parsed AND could not be used in an email address , Thus could not be a users name .
Maybe that tells you how long I've been pecking on keyboards ?-)
And maybe what the first os I might have worked on was ?-)
Gnuff gnarled ;-) JimL
2022-02-24
+ chown and chroot now warn about usages like "chown root.root f",
+ which have the nonstandard and long-obsolete "." separator that
+ causes problems on platforms where user names contain ".".
+ Applications should use ":" instead of ".".
~# ls -l pinxi
-rwxr-xr-x 1 root root 1331397 Mar 3 15:56 pinxi*
~# chown chris. pinxi
chown: warning: '.' should be ':': ‘chris.’
~# ls -l pinxi
-rwxr-xr-x 1 chris users 1331397 Mar 3 15:56 pinxi*
~# chown root.users pinxi
chown: warning: '.' should be ':': ‘root.users’
~# ls -l pinxi
-rwxr-xr-x 1 root users 1331397 Mar 3 15:56 pinxi*
~# chown IDIOT pinxi
chown: invalid user: ‘IDIOT’
~# ls -l pinxi
-rwxr-xr-x 1 root users 1331397 Mar 3 15:56 pinxi*
~# chown IDIOT.root pinxi
chown: invalid user: ‘IDIOT.root’
~# ls -l pinxi
-rwxr-xr-x 1 root users 1331397 Mar 3 15:56 pinxi*
~# chown IDIOT:root pinxi
chown: invalid user: ‘IDIOT:root’
~# ls -l pinxi
-rwxr-xr-x 1 root users 1331397 Mar 3 15:56 pinxi*
~# chown root:root pinxi
~# ls -l pinxi
-rwxr-xr-x 1 root root 1331397 Mar 3 15:56 pinxi*
I've used Linux, before that Unix for many years, The syntax as I remember, has been "owner:group" I don't recall ever using "owner.group". It has been a while since my Unix days, so I could be mistaken.
I've used Linux, before that Unix for many years, The syntax as I remember, has been "owner:group" I don't recall ever using "owner.group". It has been a while since my Unix days, so I could be mistaken.
Yeah, I got my first warning about user.group (in email, not from chown) sometime back in the mid 90s.
Important historical context: when chown first gained the ability to do user and group in a single command (4.3BSD is the earliest such example I can find), people didn't do crazy things like put dots in their usernames. Dots, dashes, capital letters, more than 8 characters long... all unthinkable. Also the colon is the one character that's safe from future growth of the set of allowable usernames, because it's the separator in /etc/passwd
4.3bsd dates back to 1986, which predates my involvement with UNIX/Linux. I was likely still using a 6502 VIC=20 or BBC Micro back then as the Amiga didn't come out until 87.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.