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

MacPorts noreply at macports.org
Tue Apr 26 13:46:52 PDT 2016


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

Comment (by chuck.fry@…):

 This is broken in trunk as of 4/26/16 13:30 PST, but in a slightly
 different fashion, in an mtree script.

 {{{
 env PATH=/usr/bin:/bin:/usr/sbin:/sbin CFLAGS="-pipe -Os" ./configure
 --enable-readline --prefix=/Users/cfry --with-applications-
 dir=/Users/cfry/Applications --with-no-root-privileges
 make install
 }}}

 results in:

 {{{
 * Warning: Using pre-generated man pages only.
 * asciidoc, xsltproc (port libxslt) and docbook-xsl are required to
 generate man pages from source.
 /usr/bin/install -c -d -o "cfry" -g "NDC\Domain Users" -m "0755"
 "/Users/cfry"
 /usr/bin/install -c -d -o "cfry" -g "NDC\Domain Users" -m "0755"
 "/Users/cfry/etc/macports"
 < prefix.mtree /usr/sbin/mtree -U -e -p "/Users/cfry" > /dev/null
 mtree: line 6: unknown group NDC\Domain
 make[1]: *** [install] Error 1
 make: *** [install] Error 1
 rdnzl:base cfry$
 }}}

 I tried quoting the group name in base/doc/prefix.mtree, with no luck.
 Single quotes, double quotes, and backslashes in front of special
 characters all failed in the same way.

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


More information about the macports-tickets mailing list