[MacPorts] #68532: Since Monterrey there is additional security for UserDir enabled by default and it's not documented

MacPorts noreply at macports.org
Sun Oct 22 22:05:36 UTC 2023


#68532: Since Monterrey there is additional security for UserDir enabled by default
and it's not documented
--------------------------------+---------------------
 Reporter:  Behinder            |      Owner:  (none)
     Type:  request             |     Status:  new
 Priority:  Normal              |  Milestone:
Component:  ports               |    Version:  2.8.1
 Keywords:  apache, web server  |       Port:  apache2
--------------------------------+---------------------
 I spent week trying to figure it out as this is not documented on
 https://trac.macports.org/wiki/Apache2.4.x
 Example file https-userdir.conf will not work because for God only knows
 reason Apple disabled access to user home directory for other directories.
 Therefore to make things work you should do in terminal

 {{{
 chmod +a "_www allow execute" ~
 }}}

 I don't know what this command is equivalent for - probably it is
 shorthand for adding user home directory to the group _www and then adding
 +x (for user? group? others?) just for this user, instead of doing chmod
 o+x ~ which would be risky.

 Anyway this should be documented somewhere on each system >=Monterrey.
 Apple is really annoying I wish I could go back to Mojave.

-- 
Ticket URL: <https://trac.macports.org/ticket/68532>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list