The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 802 - File: showthread.php PHP 7.4.33 (Linux)
File Line Function
/showthread.php 802 errorHandler->error





Post Reply 
Synology backup: default.profile Permission denied
26-12-2022, 12:36
Post: #1
Synology backup: default.profile Permission denied
Hello,

I am using dirvish to backup my Synology NAS data to an external hard disc via my linux PC. Internally there is done a "rsync admin@mynas" command to sync the data. This works fine usually. But from time to time an error occurs when backing up the minimserver /volume1/MinimServer/etc/ directory:

Code:
rsync: send_files failed to open "/volume1/MinimServer/etc/profiles/default.profile": Permission denied (13)

This is what the permissions do look like on the NAS:
Code:
admin@troken:~$ ls -l  /volume1/MinimServer/etc/
total 28
drwxrwxrwx+ 1 MinimServer MinimServer   30 Dec 21 21:54 profiles
drwxrwxrwx+ 1 MinimServer MinimServer   92 Dec 24 18:55 recent
-rwxrwxrwx+ 1 MinimServer MinimServer 1774 Dec 24 18:55 ServerBundle_de.defaults
-rwxrwxrwx+ 1 MinimServer MinimServer 1553 Dec 24 18:55 ServerBundle_en.defaults
-rwxrwxrwx+ 1 MinimServer MinimServer 1796 Dec 24 18:55 ServerBundle_fr.defaults
-rwxrwxrwx+ 1 MinimServer MinimServer 1903 Dec 24 18:55 ServerBundle_ja.defaults
-rwxrwxrwx+ 1 MinimServer MinimServer 1773 Dec 24 18:55 ServerBundle_nl.defaults
-rwxrwxrwx+ 1 MinimServer MinimServer 1713 Dec 24 18:55 ServerBundle_zh_Hans.defaults
-rwxrwxrwx+ 1 MinimServer MinimServer 1719 Dec 24 18:55 ServerBundle_zh_Hant.defaults
admin@troken:~$ ls -l  /volume1/MinimServer/etc/profiles/
total 4
-rw------- 1 MinimServer MinimServer 658 Dec 21 21:54 default.profile
admin@troken:~$ ls -l  /volume1/MinimServer/etc/recent/
total 304
-rwxrwxrwx+ 1 MinimServer MinimServer 131956 Dec 11 16:35 added-dates.txt
-rwxrwxrwx+ 1 MinimServer MinimServer 130518 Dec 24 18:55 added-files.txt
-rwxrwxrwx+ 1 MinimServer MinimServer  42226 Dec 25 09:55 played-files.txt

I had this permission problem with one (or more) of the recent files before two times and had to set permissions to "chmod a+r ..." for them. After this everything works fine again. (Now I wonder that they are writable, too, for everybody.)

So I would like to ask if it is possible that minimserver could create all files readable for everybody? (But I think it was better to not make them writable for everybody? But I am not sure about this.)

Thanks
Gert
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Synology backup: default.profile Permission denied - tarnkappe - 26-12-2022 12:36

Forum Jump:


User(s) browsing this thread: 1 Guest(s)