forked from rpm-software-management/mock
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
always set ownership of homedir (but not recursively)
Not setting the ownership caused problem when doing mock -r fedora-rawhide-x86_64 --chroot --unpriv "touch ~/test" lets make sure that homedir is always writable but keep the recursion only in rebuild as was previously. Fixes: rpm-software-management#1364
- Loading branch information
Showing
2 changed files
with
11 additions
and
2 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
In the [issue#1257][] it was suggested that we do not change recursively | ||
ownership every run. This was implemented and landed in Mock 5.5. | ||
But in the [issue#1364][] we found that for fresh chroots the homedir | ||
is not writable for unpriv user. | ||
We changed the behaviour that ownership of homedir is changed always (that was | ||
a behaviour prior 5.5 release) and the ownership is changed recursively only for | ||
rebuilds. |