- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
I cannot delete the .AppleDB folder as permission is denied, even in FTP as admin
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have a ReadyNAS 104. For years now, I have not been able to delete half of the littered Apple AFP folders and files that spread themselves across my shares from when I also had a MAC on my network accessing this device. I have managed to delete most but some still linger with the permission denied error.
I have upgrades to the latest firmware v6.7.5 (which I didn't think would make any difference). I have tried to take ownership over FTP under admin but get the following error:-
550 CHMOD 666 cnid2.db: Operation not permitted
When I try and delete the folder in Windows, I get permission denied error. Looking at the security tab, it looks like the owner of .AppleDB and its contained files could be root (Unix User\root) and/or root (Unix Group\root). These files are:-
cnid2.db
db_errlog
lock
log.0000000002
Can I log in to the unit, get to the share and delete these files and folders under some kind of super admin user? SSH, or something would be good?
Please help! It has been driving me mad for over 4 years!
Thanks,
John
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
johncove wrote:Can I log in to the unit, get to the share and delete these files and folders under some kind of super admin user? SSH, or something would be good?
Yes, logh in with ssh as root (admin password) and nuke them!
All Replies
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
johncove wrote:Can I log in to the unit, get to the share and delete these files and folders under some kind of super admin user? SSH, or something would be good?
Yes, logh in with ssh as root (admin password) and nuke them!
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: I cannot delete the .AppleDB folder as permission is denied, even in FTP as admin
Also, try using the web admin UI. That often can delete files that SMB and FTP can't.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: I cannot delete the .AppleDB folder as permission is denied, even in FTP as admin
This works! 🙂
This will delete all the Apple crud:-
find . -name "_*" -type f -delete
This will remove the Apple crud directories in question:-
rm -rd .AppleDB
Thanks for the pointer 🙂
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: I cannot delete the .AppleDB folder as permission is denied, even in FTP as admin
@johncove wrote:This will delete all the Apple crud:-
find . -name "_*" -type f -delete
This will remove the Apple crud directories in question:-
rm -rd .AppleDB
That's what I do as routine maintenance to get rid of such files! Glad it worked.