[MacPorts] #54963: Ports cannot set sticky bit

MacPorts noreply at macports.org
Sun Oct 1 18:32:02 UTC 2017


#54963: Ports cannot set sticky bit
---------------------+------------------------
  Reporter:  danchr  |      Owner:
      Type:  defect  |     Status:  new
  Priority:  Normal  |  Milestone:
 Component:  base    |    Version:  2.4.99
Resolution:          |   Keywords:  highsierra
      Port:          |
---------------------+------------------------

Comment (by raimue):

 The problem appears to occur due to `sandbox-exec`:

 {{{
 highsierra $ files/test.sh
 -rwsr-xr-x+ 1 raimue  wheel  0 Oct  1 20:29 xxx
 -rwsr-xr-x -> 104755
 highsierra $ rm -f xxx
 highsierra $ sandbox-exec -p '(version 1) (allow default)' files/test.sh
 -rwxr-xr-x+ 1 raimue  wheel  0 Oct  1 20:29 xxx
 -rwxr-xr-x -> 100755
 }}}

 That behavior changed from macOS 10.12 Sierra:

 {{{
 sierra $ sandbox-exec -p '(version 1) (allow default)' files/test.sh
 -rwsr-xr-x+ 1 raimue  wheel  0 Oct  1 20:29 xxx
 -rwsr-xr-x -> 104755
 }}}

--
Ticket URL: <https://trac.macports.org/ticket/54963#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list