Home › Mac errors › Error -5000
MacFiles and FinderError -5000 - Access denied
Apple name: afpAccessDenied
What it means
Apple's name is afpAccessDenied: you do not have enough access rights for what you tried. The name comes from Apple's file sharing.
Apple publishes only the name and a short developer label for this code. The steps are Apple's general help for this kind of problem, not a fix Apple lists for this exact number.
Where you see it
When copying to, moving or deleting something, most often on a shared folder or server.
Likely causes
- You can see the shared folder but not change it.
- You are connected as a guest or a different user.
- The folder's permissions do not include you.
Three safe steps, in order
Try them one at a time and test after each. No cleaner apps to buy, no opening the Mac, and no switching off its security.
- Reconnect to the shared Mac or server and use Connect As with a name and password that is allowed there.Related Apple page: Connect your Mac to shared computers and servers - Apple Support
- Select the item, choose File > Get Info, open Sharing & Permissions and check that you have Read & Write. An administrator can change it.Related Apple page: Change permissions for files, folders, or disks on Mac - Apple Support
- Ask the person who looks after the shared computer to check your access.Related Apple page: If your Mac can’t connect to another computer - Apple Support
Stop and get help when…
it is a work or school server. Their administrator controls the access.
Source and date
- Official Apple reference
- MacErrors.h (Apple open source, CarbonHeaders)
- Date checked
- 24 November 2026. Apple changes its pages; if a step no longer matches, trust the Apple page.
The wording above is ours, based on the Apple pages linked. Not affiliated with or endorsed by Apple.