[MacPorts] #49501: Spaces and Backslashes in Group Names

MacPorts noreply at macports.org
Thu Oct 29 15:51:10 PDT 2015


#49501: Spaces and Backslashes in Group Names
------------------------+--------------------------------
  Reporter:  citibob@…  |      Owner:  macports-tickets@…
      Type:  defect     |     Status:  closed
  Priority:  Low        |  Milestone:
 Component:  base       |    Version:  2.3.4
Resolution:  invalid    |   Keywords:
      Port:             |
------------------------+--------------------------------
Changes (by ryandesign@…):

 * status:  new => closed
 * cc: ryandesign@… (added)
 * resolution:   => invalid


Comment:

 I've never heard of a space or backslash being a legal character in a
 username or group name. I did a little research:

 The [http://pubs.opengroup.org/onlinepubs/9699919799/ Open Group Base
 Specification issue 7] has a definition of a
 [http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_431
 user name] and a
 [http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_190
 group name] that both say:

 > the value is composed of characters from the portable filename character
 set

 The definition of the
 [http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_278
 portable filename character set] says:

 > The set of characters from which portable filenames are constructed.
 >
 > A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
 > a b c d e f g h i j k l m n o p q r s t u v w x y z
 > 0 1 2 3 4 5 6 7 8 9 . _ -

 The backslash and the space are not part of that set of characters, so
 your group name is illegal on UNIX operating systems such as OS X. Please
 have your system administrator change your group name to one that is
 legal.

-- 
Ticket URL: <https://trac.macports.org/ticket/49501#comment:1>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list