#34954: user macports needs write access on Preferences directory -------------------------------+-------------------------------- Reporter: nonstop.server@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 2.1.1 Resolution: | Keywords: Port: | -------------------------------+-------------------------------- Comment (by egall@…): Replying to [comment:2 nonstop.server@…]:
Replying to [comment:1 ob+macport@…]:
To resolve this issue you need to grant the user macports write access to the Preferences directory.[[BR]] You can achieve this by adding an ACL on this directory. {{{ % sudo chmod +a "macports allow write" /opt/local/var/macports/home/Library/Preferences }}} After you added the ACL, the access mode and ACL on the Preferences directory should look like this: {{{ % ls -dehl /opt/local/var/macports/home/Library/Preferences drwxr-xr-x+ 2 root admin 204B Jul 11 00:19 /opt/local/var/macports/home/Library/Preferences 0: user:macports allow add_file }}}
MacPorts should be able to delete files from its Preferences directory, too, not just add them; otherwise you end up with a bunch of old plists littering the folder. -- Ticket URL: <https://trac.macports.org/ticket/34954#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X