Skip to content
Snippets Groups Projects
Commit 18009fcd authored by Simon McVittie's avatar Simon McVittie
Browse files

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: default avatarSimon McVittie <smcv@collabora.com>
parent 7b886aae
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment