* Do not try to remove write permission from symlinks, since chmod()
follows symlinks. (Note that the permissions on symlinks are ignored anyway.)
This commit is contained in:
parent
c4f1f49574
commit
b018517314
2 changed files with 3 additions and 3 deletions
|
|
@ -202,7 +202,7 @@ FSId normaliseFState(FSId id, FSIdSet pending)
|
|||
/* For this output path, find the references to other paths contained
|
||||
in it. */
|
||||
Strings refPaths = filterReferences(path,
|
||||
Strings(allPaths.begin(), allPaths.end()));
|
||||
Strings(allPaths.begin(), allPaths.end()));
|
||||
|
||||
/* Construct a slice element for this output path. */
|
||||
SliceElem elem;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue