[Patch] depreciate "chown u.g" since the coreutils may only accept u:g

Tobias Burnus <[email protected]>
Newsgroups gmane.linux.lsb.discuss
Message-ID <[email protected]>
Hi,

the current alpha version of the GNU coreutils (5.0.90) contains this
change:

"chown: `.' is no longer recognized as a separator in the OWNER:GROUP
 specifier on POSIX 1003.1-2001 systems.  If chown *was not* compiled
 on such a system, then it still accepts `.', by default.  If chown
 was compiled on a POSIX 1003.1-2001 system, then you may enable the
 old behavior by setting _POSIX2_VERSION=199209 in your environment."

The gLSB currently states:

"chown is as specified in the Single UNIX Specification but with
 differences as listed below."
"The use of the '.' character as a separator between the specification of
 the user name and group name is supported (in addition to the use of the
 ':' character as specified in the Single UNIX Specification)."

Since the default chown tool under Linux now favours the ':' it makes
sense to move this the '.' sentence into the "LSB Deprecated Differences".

Tobias

PS: This is also known as bug
    [ 783357 ] chown utility: _POSIX2_VERSION
    http://sourceforge.net/tracker/index.php?func=detail&aid=783357&group_id=1107&atid=101107
command.diff (text/plain, 1.5 KB)
Index: chown.sgml
===================================================================
RCS file: /cvsroot/lsb/lsbspec/gLSB/command/chown.sgml,v
retrieving revision 1.7
diff -u -r1.7 chown.sgml
--- chown.sgml	15 Jul 2002 22:57:07 -0000	1.7
+++ chown.sgml	13 Aug 2003 18:09:18 -0000
@@ -26,20 +26,17 @@
 </REFSECT1>
 
 <REFSECT1>
-<TITLE>Differences</TITLE>
-<PARA>
-The use of the '.' character as a separator between the specification
-of the user name and group name is supported (in addition to the use
-of the ':' character as specified in the Single UNIX Specification).
-</PARA>
-</REFSECT1>
-
-<REFSECT1>
 <TITLE>LSB Deprecated Differences</TITLE>
 
 <para>The behaviors specified in this section are expected to
 disappear from a future version of the LSB; applications should only
 use the non-LSB-deprecated behaviors.</para>
+
+<PARA>
+The use of the '.' character as a separator between the specification
+of the user name and group name is supported (in addition to the use
+of the ':' character as specified in the Single UNIX Specification).
+</PARA>
 
 <VARIABLELIST>
 
Index: cp.sgml
===================================================================
RCS file: /cvsroot/lsb/lsbspec/gLSB/command/cp.sgml,v
retrieving revision 1.4
diff -u -r1.4 cp.sgml
--- cp.sgml	15 Jul 2002 22:57:07 -0000	1.4
+++ cp.sgml	13 Aug 2003 18:09:19 -0000
@@ -10,12 +10,6 @@
 
 </REFNAMEDIV>
 
-<REFSYNOPSISDIV>
-<SYNOPSIS>
-
-</SYNOPSIS>
-</REFSYNOPSISDIV>
-
 <REFSECT1>
 <TITLE>Description</TITLE>
 <PARA>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.