jira-importer commented on issue #227: URL: https://github.com/apache/maven-build-cache-extension/issues/227#issuecomment-2955430440
**[Guillaume Nodet](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=gnt)** commented Yes, I agree we should avoid checking directories that are not accessible, in a similar way that we already exclude by default hidden directories and files. However, those directories seem very specific and I'm not sure we can check the problem with permissions before actually listing the directory: ``` ➜ mbuildcache-21 git:(MBUILDCACHE-20) ✗ ll /var/folders/8c/60048nhx4sz7p2d9921fjd000000gn/T/com.apple.avconferenced/ total 0 drwx------@ 2 gnodet staff 64B Apr 28 08:47 TemporaryItems ➜ mbuildcache-21 git:(MBUILDCACHE-20) ✗ ll /var/folders/8c/60048nhx4sz7p2d9921fjd000000gn/T/com.apple.avconferenced/TemporaryItems total 0 ls: /var/folders/8c/60048nhx4sz7p2d9921fjd000000gn/T/com.apple.avconferenced/TemporaryItems: Operation not permitted ➜ mbuildcache-21 git:(MBUILDCACHE-20) ✗ ``` I'll dig a bit more, but I'm not sure it would be a good idea to simply drop `IOException` occurring during the check. Another possibility would be to somehow change the _default_ config to exclude the `java.io.tmpdir` folder. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
