Home
last modified time | relevance | path

Searched refs:do_chown (Results 1 – 2 of 2) sorted by relevance

/systemd-251/src/basic/
Dfs-util.c212 bool do_chown, do_chmod; in fchmod_and_chown_with_fallback() local
231 do_chown = in fchmod_and_chown_with_fallback()
238do_chown); /* If we change ownership, make sure we reset the mode afterwards, since chown() in fchmod_and_chown_with_fallback()
246 if (do_chown && do_chmod) { in fchmod_and_chown_with_fallback()
262 if (do_chown) in fchmod_and_chown_with_fallback()
278 return do_chown || do_chmod; in fchmod_and_chown_with_fallback()
/systemd-251/src/tmpfiles/
Dtmpfiles.c838 bool do_chown; in fd_set_perms() local
860 do_chown = in fd_set_perms()
870 if (i->mode_set && do_chown) { in fd_set_perms()
892 if (do_chown) { in fd_set_perms()
908 if (i->mode_set || do_chown) { in fd_set_perms()
914 if (!do_chown && ((new_mode ^ st->st_mode) & 07777) == 0) in fd_set_perms()