Sample Header Ad - 728x90

Unable to delete old company OneDrive folder

2 votes
1 answer
1077 views
I used to work at a company that used OneDrive. I neglected to unlink the OneDrive account. Now I can't delete the folder. I started out with: ls -lae ... drwx------@ 2 jonathan staff 64 May 9 17:32 OneDrive-COMPANYNAME 0: group:everyone deny writeextattr 1: group:everyone deny delete I booted in startup options and ran this: csrutil disable --with basesystem --with dtrace --with kext Next I tried various combinations of
,
,
and ended up with this: ls -lae drwxrwxrwx@ 2 jonathan staff 64 May 9 17:32 OneDrive-COMPANYNAME I still can't delete the folder, unfortunately. I'm not sure if it still has some data in it, so maybe that could be the reason. I don't really care about the data. I just want the folder gone. Here is what I get: rm -rf OneDrive-COMPANYNAME/ rm: OneDrive-COMPANYNAME/: Permission denied Here is the output for xattr: xattr -l OneDrive-COMPANYNAME com.apple.file-provider-domain-id: com.microsoft.OneDrive-mac.FileProvider/OneDrive - COMPANYNAME Any help is appreciated!
Asked by jschmidt (369 rep)
May 25, 2024, 06:20 PM
Last activity: May 27, 2024, 12:06 AM