Interesting. I tried "sudo chmod -R 777 06082023" first. Please hold.
EDIT: chown: cannot access '06082023': Permission denied
I think they both work iirc but there's some minute difference i forget that's prob important lol
https://www.howtogeek.com/438435/how-to-use-the-chown-command-on-linux/
Cool. Thanks for the find!
did that fix it?
chown changes ownership, chmod changes permissions.
Can you sudo su and elevate to a complete root user?
Can you sudo su and elevate to a complete root user?
Yep. I did that then tried the command from my OP again and got the same error. What confuses me is that I can do whatever the heck I want to other subfolders in this same NAS folder. The only one I can change / delete is the 06082023 folder.
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.
something like this perhaps if you're on an account w/ less access sudo chown -r username anaconda3
I'm the only account on the server, and I can delete other files and folders on the NAS just fine. It's only this one folder.
To find out who owns a folder in Linux, you can use the following commands123: ls -l filename: This command will show you a list of all the files in the directory, as well as their permissions. The owner of the directory will be the name listed after the “rwx” permissions. find directoryname -exec stat -c '%U %n' {} ;: This command will display the owners of a directory, its subdirectories, and the files in them using the stat command.
might be owned by the system idk
https://www.howtouselinux.com/post/how-to-find-the-owner-of-a-file-in-linux
You're on a network drive? That complicates things, the device itself may be preventing that. You may have to log in and change permissions from the NAS itself.
(post is archived)