use rsync's --chmod instead of "find [...] -exec chmod [...]" in mirror-2stage.sh
Bug #1899385 reported by
Paul Collins
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Mirror Charm |
New
|
Undecided
|
Unassigned |
Bug Description
mirror-2stage.sh does post-sync fixups as follows:
files/mirror-
files/mirror-
First of all, this is racy.
Second of all, it's not clear where this came from and if it's still needed.
Third of all, rsync's --chmod option can be used to alter its
view of the source's permissions such that we can use it to
replace the find commands above.
Let us do so.
To post a comment you must log in.
h/t ballot for pointing out this flag's existence