« Return to Thread: Bug#488039: policy: chown uses owner:group not owner.group

Bug#488039: policy: chown uses owner:group not owner.group

by Russ Allbery-2 :: Rate this Message:

Reply to Author | View in Thread

Ian Jackson <ian@...> writes:
> Kurt Roeckx writes ("Bug#488039: policy: chown uses owner:group not owner.group"):

>> There are several places in policy that use something like "root.root",
>> when talking about the owner and group of a file.  People used to use
>> that notation to separate the owner and group, and it still works, but
>> the proper notation would be "root:root".

> What is wrong with <user>.<group> ?  I see that it's not currently
> documented but it has worked forever and I hope it's not going away.

It's been deprecated for a long time because it's ambiguous in the
presence of usernames containing periods.  Since a username on UNIX is
never permitted to have a colon due to the format of the passwd file,
colon is a better delimiter.

Support for periods probably won't ever go away, but best practice is to
use colons.

--
Russ Allbery (rra@...)               <http://www.eyrie.org/~eagle/>



--
To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...

 « Return to Thread: Bug#488039: policy: chown uses owner:group not owner.group

LightInTheBox - Buy quality products at wholesale price!