I have a second Synology NAS where I backup remotely to sometimes. Anywho, I have somehow ended up with some strange file permission on some of my files leading me to being unable to delete the files.
I assume it might have something to do with ACL on the Synology NAS, and I have found 2 programs I think I’m supposed to use to fix this issue? but I can’t figure out how. The 2 programs are synoacltool and synoshare.
My printout of some files under my shared folder “backup_files” looks like this:
drwxrwxrwx 1 admin users 72 Jul 29 04:05 .
drwxrwxrwx 1 admin users 16 Jul 29 04:05 …
----------+ 1 root root 799 Jul 27 19:18 authorized_keys
-rwxrwxrwx+ 1 root root 396 Jul 27 18:56 id_rsa.pub
-rwxrwxrwx+ 1 root root 178 Jul 27 18:58 known_hosts
Noticed the “+”, indicating ACL I think.
uid=0(root) gid=0(root) groups=0(root),2(daemon),19(log)
rm -rf authorized_keys
rm: cannot remove ‘authorized_keys’: Operation not permitted
synoshare -getmap backup_files
SYNOSHARE data dump:
** Name …[backup_files]**
** Comment …**
** Path …[/volume1/backup_files]**
** Deny list …**
** RW list …[FileStation,@administrators,admin]**
** RO list …**
** fType …**
** fBrowseable [yes]**
** Status …[0x1880]**
** WinShare …[yes]**
** ACL …[yes]**
** Skip smb perm.[yes]**
** Permit …[yes]**
** HideUnreadable …[no]**
** Snapshot browsing …[no]**
synoacltool -get authorized_keys
ACL version: No ACL
Can someone please give me some advice as to how I can delete my files in that folder? I’ve tried, but I cannot solve it by myself.