[JIRA] (IDP-1973) Don't traverse directories under conf/ that is forbidden by permission
Scott Cantor (Jira)
jira at shibboleth.atlassian.net
Thu Aug 18 20:57:43 UTC 2022
Scott Cantor ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A5b78efc9-1379-42cc-a3f6-56c6ea3a0007 ) *commented* on IDP-1973 ( https://shibboleth.atlassian.net/browse/IDP-1973?atlOrigin=eyJpIjoiY2JkM2ZmYWNhNmM0NGUzMDk4NGVkMzIyMWEyODExODIiLCJwIjoiaiJ9 )
Re: Don't traverse directories under conf/ that is forbidden by permission ( https://shibboleth.atlassian.net/browse/IDP-1973?atlOrigin=eyJpIjoiY2JkM2ZmYWNhNmM0NGUzMDk4NGVkMzIyMWEyODExODIiLCJwIjoiaiJ9 )
Files.walkFileTree does the right thing, via a FileVisitor implementation that includes explicit calls into the visitor when entering a directory that can’t be opened, so the exception gets passed and can be logged and ignored, so that’s the solution. A rewrite, as I assumed.
( https://shibboleth.atlassian.net/browse/IDP-1973#add-comment?atlOrigin=eyJpIjoiY2JkM2ZmYWNhNmM0NGUzMDk4NGVkMzIyMWEyODExODIiLCJwIjoiaiJ9 ) Add Comment ( https://shibboleth.atlassian.net/browse/IDP-1973#add-comment?atlOrigin=eyJpIjoiY2JkM2ZmYWNhNmM0NGUzMDk4NGVkMzIyMWEyODExODIiLCJwIjoiaiJ9 )
Get Jira notifications on your phone! Download the Jira Cloud app for Android ( https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail ) or iOS ( https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100205- sha1:6417f3f )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/commits/attachments/20220818/1bee19e1/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-comment-icon-f3ab44fd-9601-4796-922d-3e2a9e160ef5
Type: image/png
Size: 1084 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20220818/1bee19e1/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-avatar-00153819-21b6-4bbb-8ddb-4dc45c18d1fe
Type: image/png
Size: 425 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20220818/1bee19e1/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-footer-desktop-logo-5178f7af-6f03-430e-a006-aa5ff7995f29
Type: image/png
Size: 10805 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20220818/1bee19e1/attachment-0005.png>
More information about the commits
mailing list