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)) {
|
if ("CVS".equals(name)) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (f.isHidden()) {
|
if (f.isHidden() || !f.canRead()) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
generateDirectoryProperties(props, f);
|
generateDirectoryProperties(props, f);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (f.isHidden()) {
|
if (f.isHidden() || !f.canRead()) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (CACHE_FILE.equals(name) || OVERRIDE_FILE.equals(name)) {
|
if (CACHE_FILE.equals(name) || OVERRIDE_FILE.equals(name)) {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue