[ad_1]
I am having an issue deleting a folder that was beforehand managed by Microsoft OneDrive.
The folder is named “WP”. I already tried: sudo, disabling SIP, eradicating chflags.
❯ csrutil standing
System Integrity Safety standing: disabled.
❯ ls -la WP
complete 0
drwxrwxrwx@ 7 person employees 224B Mar 20 11:26 ./
drwxrwxrwx@ 4 person employees 128B Mar 25 17:03 ../
❯ rm -r WP
rm: WP: Permission denied
❯ sudo rm -r WP
Password:
rm: WP: Permission denied
❯ sudo rmdir WP
rmdir: WP: Listing not empty
I additionally checked the xattrs, however there may be solely this:
❯ xattr -l WP
com.apple.provenance:
It acquired attention-grabbing, once I listed the chflags:
❯ ls -lO .
complete 0
drwxrwxrwx@ 7 person employees compressed 224B Mar 20 11:26 WP/
However eradicating the compressed flag shouldn’t be allowed:
❯ sudo chflags -R 0 WP
chflags: WP: Operation not permitted
The folder will be moved (however not throughout Volumes, the error message then signifies that it must be loaded first: “The operation can’t be accomplished as a result of “WP” must be downloaded.”). It was initially in OneDrive earlier than being moved to the Trash, now I’ve moved it to /tmp
.
I assume it has one thing to do with the folder being dataless/compressed from being created in OneDrive. Any concept how I can delete this folder?
[ad_2]