hakayova
Dabbler
- Joined
- Jan 16, 2021
- Messages
- 13
Hi all,
In my older Synology NAS I set up rsyncd as follows: rsyncd would run as a service and my computers on the LAN would each have a cronjob to push the changes to the NAS daily. One would think that this would be a simple task to switch to TrueNAS, which doesn't appear to be.
First of all, there is no /etc/rsyncd.conf file in TrueNAS, instead, one can add modules to the system via GUI, which is fine. I added the module with the exact settings that currently works with Synology, but keep getting "Operation not permitted" "failed to set permissions" errors. The owner of the module (rsync_user) has full access to the share and the remote computer is accessing TrueNAS via this username via a password file. I also tried removing the password file option and ran the following command on the remote computer:
which is supposed to prompt me for a password according to rsync documents. However, I do not get a password prompt and get the same permission errors I get with the password file option as stated above.
Here is a snippet of the /usr/local/etc/rsyncd.conf
How do a get the rsync daemon on TrueNAS prompt me for a password and/or accept it from the password file, which I believe must be the underlying reason for the permission errors? What am I missing? Any guidance will be greatly appreciated.
In my older Synology NAS I set up rsyncd as follows: rsyncd would run as a service and my computers on the LAN would each have a cronjob to push the changes to the NAS daily. One would think that this would be a simple task to switch to TrueNAS, which doesn't appear to be.
First of all, there is no /etc/rsyncd.conf file in TrueNAS, instead, one can add modules to the system via GUI, which is fine. I added the module with the exact settings that currently works with Synology, but keep getting "Operation not permitted" "failed to set permissions" errors. The owner of the module (rsync_user) has full access to the share and the remote computer is accessing TrueNAS via this username via a password file. I also tried removing the password file option and ran the following command on the remote computer:
Code:
rsync -avzz -i /video/Personal rsync://rsync_user@myTrueNAS/media
which is supposed to prompt me for a password according to rsync documents. However, I do not get a password prompt and get the same permission errors I get with the password file option as stated above.
Here is a snippet of the /usr/local/etc/rsyncd.conf
Code:
... (snipped) [media] path = /mnt/pool0/backups max connections = 0 uid = rsync_user gid = wheel comment = personal videos read only = false write only = false list = yes charset = utf-8
How do a get the rsync daemon on TrueNAS prompt me for a password and/or accept it from the password file, which I believe must be the underlying reason for the permission errors? What am I missing? Any guidance will be greatly appreciated.