FG
💻 Software

Operation not permitted error when deleting as root

Fresh5 days ago
Mar 15, 202645329 views
Confidence Score0%
0%

Problem

I got into a weird situation. I got a 1Tb portable HD filled with some contents. It was used in Windows and as always packed with virus. I tried deleting some folders as root. But the following error returned returned

Error Output

rm -R RECYCLER/
rm: cannot remove `RECYCLER/S-1-5-21-1659004503-1644491937-725345543-1003/Dc39.pptx': Operation not permitted
rm: cannot remove `RECY…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Operation not permitted error when deleting as root

Low Risk

This is due to an immutable attribute set for the files. If your filesystem driver allows it, run the command below before removing it.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment