* commit '457197c50056216c1552e020998274a3bb249dd9': Only set permissions on dirs or files
This commit is contained in:
commit
dc452c399d
1 changed files with 1 additions and 1 deletions
|
@ -571,7 +571,7 @@ int VolumeManager::fixupAsecPermissions(const char *id, gid_t gid, const char* f
|
|||
|
||||
if (ftsent->fts_info & FTS_D) {
|
||||
result |= fchmod(fd, 0711);
|
||||
} else {
|
||||
} else if (ftsent->fts_info & FTS_F) {
|
||||
result |= fchmod(fd, privateFile ? 0640 : 0644);
|
||||
}
|
||||
close(fd);
|
||||
|
|
Loading…
Reference in a new issue