Hi!
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:
ls -la
total 12
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.
id
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 …[2]**
** fBrowseable [yes]**
** FTPPrivilege[0]**
** Status …[0x1880]**
** WinShare …[yes]**
** ACL …[yes]**
** Skip smb perm.[yes]**
** Permit …[yes]**
** RecycleBin…[no]**
** RecycleBinAdminOnly…[no]**
** HideUnreadable …[no]**
** Snapshot browsing …[no]**
synoacltool -get authorized_keys
ACL version: No ACL
Archive: is_support_ACL
Owner: [root(user)]
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.