How to get rid of "Operation not permitted" in the terminal
Hi,
I have uploaded files (pdf, mp4, png) to Drive and now almost none of them work, neither when I try to open them in the Drive desktop app nor in the web version. I have even tried downloading the files into my Macbook (Pro w/ Ventura 13.2) Downloads and opening them from there and it says the file cannot be opened because it may be damaged.
The closest think I find on Google's own guide says:
If you use Drive for desktop on MacOS Mojave or High Sierra, permissions required to sync Drive files can get corrupted.
To resolve this issue:
- On your computer, click Finder Applications.
- Open the Utilities folder.
- Click Terminal.
- Enter sudo kextcache -clear
- Press Return.
- Enter sudo mv /private/var/db/KernelExtensionManagement /private/var/db/KernelExtensionManagementBackup
- Press Return.
- Enter sudo kextutil -l /Library/Google/DriveFS/dfsfuse.kext
- Press Return.
- Launch Drive for desktop.
When I try to do point 6, the terminal says: "Operation not permitted"
I have already done the granting full access to terminal but it's not working. I don't find any other way to open the files.
Any ideas please? I got 300 files that have taken me hours to download and arrange. Would be great to skip doing it all again.
All the best
MacBook Pro 13″, macOS 13.2