dr-xr-xr-x. 19 root root 251 Nov 13 2023 / drwxr-xr-x. 915 root root 467456 Mar 4 09:06 /groups drwxrws–x. 17 tmerritt tmerritt 11264 Mar 10 16:15 /groups/tmerritt drwxrwsrwx. 3 ric tmerritt 512 Mar 10 16:15 /groups/tmerritt/ric drwxr-sr-x. 2 ric tmerritt 0 Mar 10 16:15 /groups/tmerritt/ric/test_folder
I can, from a shell,
cd /groups/tmerritt/ric && rmdir test_folder
without complaint, but If I use the ood 4.0.10 or 4.1.4 files app to navigate down to “ric”, then select “delete” from the dropdown for “test_folder” (after clicking OK to “Delete test_folder”) I get this error from ood
Remove parent directory is world writable, FileUtils#remove_entry_secure does not work; abort: “/groups/tmerritt/ric/test_folder” (parent directory mode 42777)
This delete should work, not error out. If I change the mode on “ric” to remove the world write, I can delete test_folder from ood, but I should not have to reduce the openness of the parent to accomplish removing the empty test_dir.
I can’t replicate on our HOME drives (NetAapp) or our project drives (GPFS).
I’d wonder if it’s something with your shared drives. Do you have different storage providers like we do for different drives? If so, can you test a similar thing on the other drive type? (and/or local storage)
Okay, moved from an NFS mounted tree to a local (ext4) directory structured as follows:
dr-xr-xr-x. 20 root root 264 Mar 13 08:30 / drwxr-xr-x. 3 root root 22 Mar 13 08:31 /local drwxr-xr-x. 3 tmerritt rt-is-unix 17 Mar 13 08:31 /local/tmerritt drwxrwxrwx. 3 ric rt-is-unix 25 Mar 13 08:32 /local/tmerritt/ric drwxr-xr-x. 2 ric rt-is-unix 6 Mar 13 08:32 /local/tmerritt/ric/test_folder
and results are the same (on ood 4.1.4):
Error occurred when attempting to remove files: Remove parent directory is world writable, FileUtils#remove_entry_secure does not work; abort: “/local/tmerritt/ric/test_folder” (parent directory mode 40777)