summaryrefslogtreecommitdiffstats
path: root/src/basic
diff options
context:
space:
mode:
authorDaan De Meyer <daan.j.demeyer@gmail.com>2024-10-05 08:36:14 +0200
committerGitHub <noreply@github.com>2024-10-05 08:36:14 +0200
commita407aaa6ff8b37ef86d90343a4404b43fffd60ab (patch)
tree28540ee159962a9adb64a2bd87779dcf91069c35 /src/basic
parentMerge pull request #34608 from DaanDeMeyer/ukify (diff)
parentchase: Fix shortcut (diff)
downloadsystemd-a407aaa6ff8b37ef86d90343a4404b43fffd60ab.tar.xz
systemd-a407aaa6ff8b37ef86d90343a4404b43fffd60ab.zip
Merge pull request #34639 from DaanDeMeyer/repart-fix
Two repart fixes
Diffstat (limited to 'src/basic')
-rw-r--r--src/basic/chase.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/basic/chase.c b/src/basic/chase.c
index 4576e4b058..8eac356665 100644
--- a/src/basic/chase.c
+++ b/src/basic/chase.c
@@ -192,7 +192,7 @@ int chaseat(int dir_fd, const char *path, ChaseFlags flags, char **ret_path, int
if (!(flags &
(CHASE_AT_RESOLVE_IN_ROOT|CHASE_NONEXISTENT|CHASE_NO_AUTOFS|CHASE_SAFE|CHASE_STEP|
- CHASE_PROHIBIT_SYMLINKS|CHASE_MKDIR_0755)) &&
+ CHASE_PROHIBIT_SYMLINKS|CHASE_MKDIR_0755|CHASE_PARENT)) &&
!ret_path && ret_fd) {
/* Shortcut the ret_fd case if the caller isn't interested in the actual path and has no root