WelcomeUser Guide
ToSPrivacyCanary
DonateBugsLicense

©2024 Poal.co

822

I create daily backups on a NAS drive. When the new one is complete I delete the previous day. I've been unable to delete the folder from the 8th because I don't have permissions to delete files. I just deleted 06112023, so I definitely have permissions on the main folder.

If I open the root folder itself in terminal and run "sudo rm -rf 06082023" I get the same lack of permission error. What do?

(06082023 is the folder I'm trying to delete.)

I create daily backups on a NAS drive. When the new one is complete I delete the previous day. I've been unable to delete the folder from the 8th because I don't have permissions to delete files. I just deleted 06112023, so I definitely have permissions on the main folder. If I open the root folder itself in terminal and run "sudo rm -rf 06082023" I get the same lack of permission error. What do? (06082023 is the folder I'm trying to delete.)

(post is archived)

[–] 1 pt

What happens when you ls -la on the containing directory? That should tell you the owner.

You're probably going to have to log in to the NAS and manage the folder, sounds like something on the device has taken ownership. It's hard to tell why, sometimes various media indexers can do funny things. I always disabled those on the Synology units I had.

[–] 2 pts

ls -l shows me as the owner of all the folders on the drive. (I'm logged into the NAS already.)

[–] 1 pt

And you can't delete the folder as root user on the NAS?

[–] 1 pt

And you can't delete the folder as root user on the NAS?

Correct. I am the root user, logged into the NAS itself, and can delete other folders. I can also add folders. It's just this one that is being stubborn. :-)