LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-01-2024, 03:38 PM   #1
babydr
Member
 
Registered: Aug 2015
Location: Fairbanks , Alaska
Distribution: Slackware-14.2 & 15.0
Posts: 229

Rep: Reputation: 45
chown: warning: '.' should be ':': 'IDIOT.users'


Does anyone no Why this has become an ever changing parameter delimiter ?
Code:
chown: warning: '.' should be ':': 'IDIOT.users'
I've had to change my scripts at least twice before .
For this same &/or simular delimiter changes ,
in the ch* user modification programs .

Just seems Freek'n silly to me ... Thank You for some usable insight !

JimL
 
Old 04-01-2024, 03:52 PM   #2
jayjwa
Member
 
Registered: Jul 2003
Location: NY
Distribution: Slackware, Termux
Posts: 786

Rep: Reputation: 250Reputation: 250Reputation: 250
It's been like this for awhile, if you are refering to replacement of "." with ":". https://serverfault.com/questions/19...group-in-chown
 
Old 04-01-2024, 07:06 PM   #3
mw.decavia
Member
 
Registered: Feb 2024
Distribution: Slackware64-15 & Afterstep , oh my
Posts: 80

Rep: Reputation: 9
That is a rather insulting warning. Perhaps the user should be called something less mean, like "silly" or something?
 
Old 04-01-2024, 08:16 PM   #4
chrisretusn
Senior Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 2,976

Rep: Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553
I see no insult with that.
 
Old 04-01-2024, 11:48 PM   #5
babydr
Member
 
Registered: Aug 2015
Location: Fairbanks , Alaska
Distribution: Slackware-14.2 & 15.0
Posts: 229

Original Poster
Rep: Reputation: 45
@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
 
1 members found this post helpful.
Old 04-02-2024, 12:46 AM   #6
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,376

Rep: Reputation: 2756Reputation: 2756Reputation: 2756Reputation: 2756Reputation: 2756Reputation: 2756Reputation: 2756Reputation: 2756Reputation: 2756Reputation: 2756Reputation: 2756
Quote:
@All , I've been using '.' as a user.group seperator for many years !
You have company
 
3 members found this post helpful.
Old 04-02-2024, 01:03 AM   #7
chrisretusn
Senior Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 2,976

Rep: Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553
I think we should just top this off as April Fool's.
 
1 members found this post helpful.
Old 04-02-2024, 11:30 AM   #8
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,387

Rep: Reputation: 4108Reputation: 4108Reputation: 4108Reputation: 4108Reputation: 4108Reputation: 4108Reputation: 4108Reputation: 4108Reputation: 4108Reputation: 4108Reputation: 4108
Code:
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 ".".
https://git.savannah.gnu.org/cgit/co...e34c92745169b6
 
Old 04-02-2024, 11:58 AM   #9
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,611
Blog Entries: 19

Rep: Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458
If you really want to be insulted, use sudo a few times with the wrong password!
 
1 members found this post helpful.
Old 04-02-2024, 07:59 PM   #10
chrisretusn
Senior Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 2,976

Rep: Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553
Here is a test run with chown:

Code:
~# 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.
 
1 members found this post helpful.
Old 04-03-2024, 08:54 PM   #11
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 2,523

Rep: Reputation: 8489Reputation: 8489Reputation: 8489Reputation: 8489Reputation: 8489Reputation: 8489Reputation: 8489Reputation: 8489Reputation: 8489Reputation: 8489Reputation: 8489
Quote:
Originally Posted by chrisretusn View Post
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.
 
2 members found this post helpful.
Old 04-04-2024, 04:06 AM   #12
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,901

Rep: Reputation: 5025Reputation: 5025Reputation: 5025Reputation: 5025Reputation: 5025Reputation: 5025Reputation: 5025Reputation: 5025Reputation: 5025Reputation: 5025Reputation: 5025
Found this on stack-exchange.
Quote:
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.
 
4 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] weird chown option that's only available in man page.. what on earth is chown root /u ? is /u is an option/ flag to chown command? andrewysk Linux - Newbie 22 01-03-2022 02:12 PM
PHP5 - chown() - Warning: chown(): Operation not permitted pizzipie Programming 11 09-10-2013 03:53 AM
Warning - Linux Idiot on the lose Darkstar_Surfer Linux - Newbie 35 10-27-2009 07:09 AM
chown for changing multiple users' ownership Abhishek87 Linux - Networking 1 08-06-2007 12:53 PM
How to chown -R don.lab * for don.users Hans Zilles Linux - Newbie 3 11-15-2005 07:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration