diff --git a/test/pjdfstest/known_failures.txt b/test/pjdfstest/known_failures.txt index 1476890b3..d08b5a26b 100644 --- a/test/pjdfstest/known_failures.txt +++ b/test/pjdfstest/known_failures.txt @@ -6,8 +6,3 @@ # A failure in any test NOT listed here will cause the CI job to fail, # catching regressions immediately. -# ── Directory rename permission edge case ────────────────────────────── -# Cross-directory rename of a subdirectory with restricted permissions -# causes cascading test failures within the test file. -tests/rename/21.t - diff --git a/weed/mount/weedfs_dir_mkrm.go b/weed/mount/weedfs_dir_mkrm.go index f109281d7..8352b72f6 100644 --- a/weed/mount/weedfs_dir_mkrm.go +++ b/weed/mount/weedfs_dir_mkrm.go @@ -38,7 +38,7 @@ func (wfs *WFS) Mkdir(cancel <-chan struct{}, in *fuse.MkdirIn, name string, out Mtime: now, Crtime: now, Ctime: now, - FileMode: uint32(os.ModeDir) | in.Mode&^uint32(wfs.option.Umask), + FileMode: uint32(os.ModeDir) | in.Mode, Uid: in.Uid, Gid: in.Gid, },