Hi,
After upgrading to 11.3, all my rsync tasks fails with the logs:
I run the tasks with another user (user1). This user has read/write rights on the directory:
When I run the exact same command line launched by the FreeNAS UI from a user1 shell, the rsync command succeeds:
Have you an idea what's going on?
Cheers.
After upgrading to 11.3, all my rsync tasks fails with the logs:
rsync: opendir "/mnt/tank/Documents/user2/Downloads" failed: Permission denied (13)
IO error encountered -- skipping file deletion
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1191) [sender=3.1.3]
I run the tasks with another user (user1). This user has read/write rights on the directory:
$ ls -alFh /mnt/tank/Documents/user2
total 378
drwxrwxr-x 13 user2 gnas 13B 31 juil. 2018 ./
drwxr-xr-x 4 root gnas 4B 22 janv. 2015 ../
drwxrwx--- 5 user2 gnas 155B 31 juil. 2018 Downloads/
$ grep gnas /etc/group
gnas:*:1002:user1,user2
When I run the exact same command line launched by the FreeNAS UI from a user1 shell, the rsync command succeeds:
$ /usr/bin/lockf -s -t 0 -k /mnt/tank/Documents/user2 /usr/local/bin/rsync -a -z --delay-updates --delete-delay -p -r -t --usermap='*:18000' --groupmap='*:18000' -e 'ssh -p 22 -o BatchMode=yes -o StrictHostKeyChecking=yes' /mnt/tank/Documents/user2 18000@dsthost.net:documents_user2
$
Have you an idea what's going on?
Cheers.