-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Inspired by #12431 let's also rework chmod_and_chown() and make sure we never add more rights to a file not owned by the right user. Also, let's make chmod_and_chown() just a wrapper arond fchmod_and_chown(). let's also change strategy: instead of chown()ing first and stating after on failure and supressing errors, let's avoid the chown in the firts place, in the interest on keeping things minimal.
- Loading branch information
1 parent
2570578
commit 2dbb7e9
Showing
1 changed file
with
37 additions
and
82 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