pv-mtree: Factor out maybe_chmod()
I'm going to extend this to cope better with filesystems where we do not
own the files or otherwise cannot change their ownership, and that will
be easier if we can early-return on success or if there is nothing to do.
Signed-off-by:
Simon McVittie <smcv@collabora.com>
parent
7b886aae
No related branches found
No related tags found
Please register or sign in to comment