Ignore files we cannot read.
This commit is contained in:
parent
7759ca8dc7
commit
5415459087
1 changed files with 2 additions and 2 deletions
|
|
@ -64,13 +64,13 @@ public class DirectoryMetadataGenerator {
|
|||
if ("CVS".equals(name)) {
|
||||
continue;
|
||||
}
|
||||
if (f.isHidden()) {
|
||||
if (f.isHidden() || !f.canRead()) {
|
||||
continue;
|
||||
}
|
||||
generateDirectoryProperties(props, f);
|
||||
continue;
|
||||
}
|
||||
if (f.isHidden()) {
|
||||
if (f.isHidden() || !f.canRead()) {
|
||||
continue;
|
||||
}
|
||||
if (CACHE_FILE.equals(name) || OVERRIDE_FILE.equals(name)) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue