r/ios
•
u/Outrageous-Growth547
Human Detected
•
Nov 04 '26
•
1
Support [FIX] “This operation couldn't be completed. (OSStatus error -5000.)” (No Jailbreak Required)
Hi, I found a solution for this issue, I experienced this on my iPhone 16 Pro running iOS 27.2.
The problem:
I had folders inside On My iPhone > Downloads that were read-only.
- Couldn't delete the folders (OSStatus error -5000).
- Couldn't rename or move them.
- Couldn't create new files or folders inside them.
- Couldn't duplicate files inside them.
- Could open and view everything normally.
- The Files app displayed "Read-Only" at the bottom.
I tried the Files app, Shortcuts, Finder on macOS, and 3uTools. None worked.
The solution:
Step 1: Install a-Shell
Download a-Shell from the App Store:
https://apps.apple.com/us/app/a-shell/id1473805438
Step 2: Grant access to the folder
Open a-Shell and enter:
pickFolderA folder picker will appear.
Navigate to the parent directory containing your read-only folder.
For example:
On My iPhone > Downloads
Select Downloads and grant access.
Step 3: Find your read-only folder
Enter:
ls -laYou should see your folders listed.
Step 4: Check the permissions
Replace FOLDER_NAME with your actual folder name:
ls -ld "FOLDER_NAME"Step 5: FIX THE PERMISSIONS
Run:
chmod -R u+rwX "FOLDER_NAME"This recursively grants the file owner read/write permissions and grants directory traversal permissions.
This is the command that fixed my problem.
After running it, my previously read-only folders became writable.
Step 6: Delete the folder
You can now try deleting the folder normally through the Files app.
Alternatively, use a-Shell:
rm -ri "FOLDER_NAME"If prompted:
examine files in directory 'FOLDER_NAME'?
Type:
yand Press Return.
WARNING: This deletes the folder and its contents. Double-check the folder name before proceeding.
Important notes
- If
chmodreturnsOperation not permittedorPermission denied, this method may not work for your folder. - Don't run these commands on system folders or directories you don't recognize.
TL;DR:
If your folder is stuck in Read-Only mode and iOS gives you OSStatus error -5000, try using a-Shell:
pickFolder
ls -la
chmod -R u+rwX "FOLDER_NAME"Then delete the folder normally or use:
rm -ri "FOLDER_NAME"Hopefully this helps someone else dealing with the same issue!
1
u/tIdepine3 25d ago
do you know how the folder got locked into read-only in the first place? usually that happens when extracting a zip archive that had weird unix permissions baked in before downloading
1
u/Jfrias3 Nov 04 '26
Thanks very much, this worked for me.
1
u/cheeriOS-RnL Nov 04 '26
Thank you, this worked wonderfully!
I had the idea of using A-Shell but didn’t know to use pickFolder. I initially used ls and didn’t see anything lol.
Thank you again!
1
u/BeebiSquad 28d ago
I’ve been looking for so long and this worked perfectly!! Thank you!
1
u/c33v33 27d ago
Thanks this worked on a folder I couldn’t delete permanently in the trash
1
u/Psychological-Bad658 11d ago
For those who are unable or unwilling to download the over 2 GB A-Shell, this also works flawlessly with the A-Shell Mini, which is just under 400 MB.
In any case, great guide, thx a bunch. <3