diff options
author | Theodore Ts'o <tytso@mit.edu> | 2024-04-25 11:57:34 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2024-04-25 11:57:34 -0400 |
commit | 8cffdacb9503e564f58bbf6527ed296deafa9bd4 (patch) | |
tree | 5e7fb290b6492ea90cb6a2dc71b683e5937039b5 | |
parent | f353a1f1b05724757241d55f0e941f974bbbc72a (diff) | |
parent | 4cfa9f70fb0fb3f42c4d9e79ee2d401d4968e1b0 (diff) | |
download | e2fsprogs-8cffdacb9503e564f58bbf6527ed296deafa9bd4.tar.gz |
Merge https://github.com/steven676/e2fsprogs into next
-rw-r--r-- | misc/fuse2fs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/fuse2fs.c b/misc/fuse2fs.c index ed2558db8..6b2e727e4 100644 --- a/misc/fuse2fs.c +++ b/misc/fuse2fs.c @@ -1142,7 +1142,7 @@ static int op_mkdir(const char *path, mode_t mode) ext2fs_set_i_uid_high(inode, ctxt->uid >> 16); inode.i_gid = ctxt->gid; ext2fs_set_i_gid_high(inode, ctxt->gid >> 16); - inode.i_mode = LINUX_S_IFDIR | (mode & ~(S_ISUID | fs->umask)) | + inode.i_mode = LINUX_S_IFDIR | (mode & ~S_ISUID) | parent_sgid; inode.i_generation = ff->next_generation++; |