mirror of
https://github.com/systemd/systemd.git
synced 2025-01-12 13:18:14 +03:00
parent
3c222be831
commit
1542c01b1d
@ -496,9 +496,10 @@ static int dir_cleanup(
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (mountpoint && S_ISREG(s.st_mode))
|
if (mountpoint && S_ISREG(s.st_mode))
|
||||||
if ((streq(dent->d_name, ".journal") && s.st_uid == 0) ||
|
if (s.st_uid == 0 && STR_IN_SET(dent->d_name,
|
||||||
streq(dent->d_name, "aquota.user") ||
|
".journal",
|
||||||
streq(dent->d_name, "aquota.group")) {
|
"aquota.user",
|
||||||
|
"aquota.group")) {
|
||||||
log_debug("Skipping \"%s\".", sub_path);
|
log_debug("Skipping \"%s\".", sub_path);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user