https://pantsbuild.org/ logo
#development
Title
# development
e

enough-analyst-54434

01/07/2022, 7:19 PM
Soooo under macOS, in a directory you have full perms in, you can't re-name a directory with 555 perms. You can re-name a file with 444 perms. Did anyone know about this? In Linux you can rename both, which is what I'd expect.
Seems like a crazy bug. Buit that is so basic to being a Posixy beast that clearly its not?
h

hundreds-father-404

01/07/2022, 8:01 PM
Hm I'm able to set it on my machine
Copy code
❯ chmod 555 test
❯ exa --octal-permissions --only-dirs --long .
0555 dr-xr-xr-x - ericarellano  7 Jan 12:57 test
w

witty-crayon-22786

01/07/2022, 8:05 PM
@hundreds-father-404: he means that after having set it 555, you can’t rename the directory
👍 1
…which i agree is weird. because that should be a matter of the parent directory’s permissions
e

enough-analyst-54434

01/07/2022, 8:11 PM
I ❤️ macOS