stop chowning everything
Bug #1896163 reported by
Paul Collins
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Mirror Charm |
Fix Released
|
Undecided
|
Paul Collins |
Bug Description
```python
def configure_
if not os.path.
chownr(
```
This seems unnecessary and, as we host more and more content on these machines, upgrades become slower and slower.
The charm already creates the root of the mirror path with the correct ownership, and the sync scripts run as that user.
Finally, chownr does not even change the ownership of the path from which it begins its recursive chown.
Related branches
~pjdc/ubuntu-mirror-charm/+git/ubuntu-mirror-charm:remove-recursive-chown
- Haw Loeung: Approve (+1)
- Canonical IS Reviewers: Pending requested
-
Diff: 20 lines (+0/-2)1 file modifiedhooks/hooks.py (+0/-2)
description: | updated |
Changed in ubuntu-mirror-charm: | |
status: | New → Fix Released |
assignee: | nobody → Paul Collins (pjdc) |
To post a comment you must log in.