[ccache] ccache shared cache - fails to rename

Joel Rosdahl joel at rosdahl.net
Sun Apr 3 05:13:52 MDT 2011

On 2011-04-02 08:37, devsk wrote:
> I see a lot of 
> [2011-04-01T23:31:16.190840 26563] Failed to rename 
> /var/tmp/ccache/8/7/007a9f0d4b791e3c439260a8b86724-2049.manifest.tmp.localhost.26563
>  to /var/tmp/ccache/8/7/007a9f0d4b791e3c439260a8b86724-2049.manifest
> in the log file. The source is owned by one user running the ccache currently 
> and destination is owned by another user. Both files are 'rw' by everybody.
> Any ideas why would it fail to rename the file?
> CCACHE_UMASK is set to 0000.

You need write permission for all directories in the cache, not only the
files. Check the permissions of the /var/tmp/ccache/8/7 directory.

-- Joel

More information about the ccache mailing list