[MacPorts] #54963: Ports cannot set sticky bit
MacPorts
noreply at macports.org
Sun Oct 1 18:28:12 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: |
---------------------+------------------------
Changes (by raimue):
* cc: raimue (added)
Comment:
The test script uses `chmod u+t`, which is invalid. This is the sticky bit
(+t), not setuid (+s). The sticky bit cannot be set in combination with
any of `ugo` as it is a global flag. This should read `chmod u+s`.
Also the result in the test command in the last line for `stat -f %p`
should probably be `104755`.
After fixing the issues above with `chmod u+s` and `104755`, I can confirm
that this port works on macOS 10.12 Sierra, but not on macOS 10.13 High
Sierra.
--
Ticket URL: <https://trac.macports.org/ticket/54963#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list