]> code.ossystems Code Review - openembedded-core.git/commit
meta: Use double colon for chown OWNER:GROUP
authorKosta Zertsekel <zertsekel@gmail.com>
Sun, 4 Nov 2018 19:24:46 +0000 (21:24 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 24 Nov 2018 21:45:48 +0000 (21:45 +0000)
commit8105b6384042e04d8bdfaa881370616c6e46acfa
tree6680299766ef350d97319c896dbdeb2fd38ef50e
parent702917592ffca04fb1447fca60f6377ef96a57a0
meta: Use double colon for chown OWNER:GROUP

Rationale - excerp from `info chown`
====================================

OWNER‘:’GROUP
     If the OWNER is followed by a colon and a GROUP (a group name or
     numeric group ID), with no spaces between them, the group ownership
     of the files is changed as well (to GROUP).

   Some older scripts may still use ‘.’ in place of the ‘:’ separator.
POSIX 1003.1-2001 (*note Standards conformance::) does not require
support for that, but for backward compatibility GNU ‘chown’ supports
‘.’ so long as no ambiguity results.  New scripts should avoid the use
of ‘.’ because it is not portable, and because it has undesirable
results if the entire OWNER‘.’GROUP happens to identify a user whose
name contains ‘.’.

(From OE-Core rev: 185918234a07cb506d7d7464a49ac33972c7d963)

Signed-off-by: Kosta Zertsekel <zertsekel@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
meta/recipes-core/images/build-appliance-image_15.0.0.bb
meta/recipes-core/initscripts/initscripts-1.0/populate-volatile.sh
meta/recipes-core/sysvinit/sysvinit_2.88dsf.bb