Dear list,
I am trying to synchronize a local filesystem directory to a mounted windows share, I run into permission errors. Please advise.
root#cloud 15:57:35 /var/www/nextcloud/data/dcrr/files # lsyncd -nodaemon -log all -direct /var/www/nextcloud/data/dcrr/files /mnt/ftp-echanges/legislatives2021/
kernels clocks_per_sec=100
Call: configure( )
Inotify: inotify fd = 3
Call: initialize( )
15:58:24 Normal: --- Startup ---
15:58:24 Function: Inotify.addWatch( /var/www/nextcloud/data/dcrr/files/ )
15:58:24 Inotify: addwatch( /var/www/nextcloud/data/dcrr/files/ )-> 1
15:58:24 Call: getAlarm( )
15:58:24 Function: getAlarm( )
15:58:24 Alarm: runner.getAlarm returns: (true)
15:58:24 Masterloop: immediately handling delays.
15:58:24 Call: cycle( )
15:58:24 Function: cycle( (Timestamp: 25209655.47) )
15:58:24 Function: invokeActions( "Sync1", (Timestamp: 25209655.47) )
15:58:24 Normal: recursive startup rsync: /var/www/nextcloud/data/dcrr/files/ -> /mnt/ftp-echanges/legislatives2021/
15:58:24 Exec: /usr/bin/rsync [--delete] [--ignore-errors] [-slt] [-r] [/var/www/nextcloud/data/dcrr/files/] [/mnt/ftp-echanges/legislatives2021/]
15:58:24 Call: getAlarm( )
15:58:24 Function: getAlarm( )
15:58:24 Alarm: runner.getAlarm returns: (false)
15:58:24 Masterloop: going into select ( no timeout )
rsync: failed to set times on "/mnt/ftp-echanges/legislatives2021/.": Permission denied (13)
rsync: delete_file: unlink(pap ikram13H00.MP3) failed: Permission denied (13)
rsync: delete_file: unlink(PAP GUEMAZ HIOURIA WA ADALA13H00.MP3) failed: Permission denied (13)
rsync: mkstemp "/mnt/ftp-echanges/legislatives2021/.Readme.md.ehiknH" failed: Permission denied (13)
rsync: mkstemp "/mnt/ftp-echanges/legislatives2021/.test-chaouche-js-party-32.mp3.0OFxjD" failed: Permission denied (13)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1207) [sender=3.1.3]
15:58:24 Call: collectProcess( )
15:58:24 Delay: collected an event
15:58:24 Normal: Startup of "/var/www/nextcloud/data/dcrr/files/" finished: 23
15:58:24 Delay: Finish of Init on /var/www/nextcloud/data/dcrr/files/ = 23
15:58:24 Call: cycle( )
15:58:24 Function: cycle( (Timestamp: 25209655.76) )
15:58:24 Function: invokeActions( "Sync1", (Timestamp: 25209655.76) )
15:58:24 Call: getAlarm( )
15:58:24 Function: getAlarm( )
15:58:24 Alarm: runner.getAlarm returns: (false)
15:58:24 Masterloop: going into select ( no timeout )
Thanks for any input.