[MacPorts] #36211: ccache: FATAL: Failed to create /opt/local/var/macports/build/.ccache/6/3: Permission denied
MacPorts
noreply at macports.org
Thu Sep 20 11:11:24 PDT 2012
#36211: ccache: FATAL: Failed to create /opt/local/var/macports/build/.ccache/6/3:
Permission denied
-------------------------+--------------------------------
Reporter: bzbarsky@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: base | Version: 2.1.2
Resolution: | Keywords:
Port: |
-------------------------+--------------------------------
Comment (by ben-macports@…):
I was seeing this as well. Check the permissions in
/opt/local/var/macports/build/.ccache I had:
{{{
/opt/local/var/macports/build/.ccache benc$ ls -ltra
total 8
-rw-r--r-- 1 macports admin 190 Aug 29 2011 CACHEDIR.TAG
drwxr-xr-x 20 macports admin 680 Aug 29 2011 .
drwxr-xr-x 34 root admin 1156 Sep 20 13:59 ..
drwxr-xr-x 8 root admin 272 Sep 20 14:01 b
drwxr-xr-x 19 macports admin 646 Sep 20 14:01 8
}}}
so that when any port tried to hit "b" it was getting a permissions error.
'''A "chown -R macports /opt/local/var/macports/build/.ccache" fixed the
problem.'''
I am not sure how or when the problem started, possibly with the recent
ccache update?
--
Ticket URL: <https://trac.macports.org/ticket/36211#comment:5>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list