Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
checkpath: use fchown and fchmod to handle ownership and mode changes
This is related to #195. This is an attempt to shorten the window for the first two issues discussed by using a file descriptor which does not follow symbolic links and using the fchmod and fchown calls instead of chown and chmod. with.
- Loading branch information
Showing
1 changed file
with
79 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@williamh hey there, this line is a bug/improper syntax, you're missing a quotation.
caught it upon building, since the commit is so recent I figured I'd make a comment to you here instead of opening an issue or PR.