Commit 51edde653707e7a3cd2186082458f01f32cd1996 makes a wrong assumption that SSTATE_MIRRORS have write permissions. A mirror is by definition outside of it's user control. In my use case it happens I does not have permissions to update the access time of the dereferenced symbolic-link file. If we had the possibility to modify the sstate-mirror we would have set SSTATE_DIR instead. There are 3 possible fixes: * Revert this patch. It seems tailored to a very special use case which breaks the definition of mirror. * Only touch the file if the file access time is writeable. * Set (yet) another option to touch SSTATE_MIRROR files. I also can imagine this raising sever performance issues if the mirror is used by several users at the same time. The server will need to update the file meta data every time I can provide the patch for one of the 3 options above. Related to (https://bugzilla.yoctoproject.org/show_bug.cgi?id=10857) Best regards Paulo Neves
Created attachment 3705 [details] Added test for write ability This patch fixes the bug with minimal impact on the original functionality.
Paulo, thank you for the patch. Sent it for review: http://lists.openembedded.org/pipermail/openembedded-core/2017-April/135621.html
The fix has been merged into master