I'm on a Mac using rclone sync --links. In two directories there are aliases that point to a directory in another location. When rclone runs, the first alias fails to copy over and generates this error:
2022/07/28 15:36:03 ERROR : Active efforts/Conferences or presentations: Failed to copy: open /Users/jpollock/Scripts/rsync/vdrive/NCCRC/Active efforts/Conferences or presentations: permission denied
For the second alias, rclone follows the aliases and copies the aliases' target directories to the remote server, which it shouldn't be doing if I'm specifying --links. Then, if I run rclone --links again, I get this error:
2022/07/28 10:01:32 ERROR : Active efforts/Fundraising-related: Failed to copy: open /Users/jpollock/Scripts/rsync/vdrive/NCCRC/Active efforts/Fundraising-related: is a directory
The really weird thing is that I have a ton of aliases in the source folder, but it's only doing this with these two aliases; other aliases copy over properly. I tried deleting and re-creating the aliases, and the problem persists.
Just to anticipate the question: there is nothing else in the same directory as this alias that has the same name. A full ls -al of the directory shows no temp files or anything else that would explain this behavior.
I tried running with -vv, and the logfile doesn't actually show the target directory being copied over even though that happens, which I also can't explain. On my last run I deleted the mistakely-copied target directly from the destination server, then re-ran rclone, and the target directory was back on the destination server gain.
- os/version: darwin 12.4 (64 bit)
- os/kernel: 21.5.0 (x86_64)
- os/type: darwin
- os/arch: amd64
- go/version: go1.18.1
- go/linking: dynamic
- go/tags: none
Windows fileserver mounted as an AFP volume.
/usr/local/bin/rclone" -vv sync /Users/jpollock/Documents/Job-related/PJC/RTC stuff/NCCRC/ /Users/jpollock/Scripts/rsync/vdrive/NCCRC/ --exclude MariaFolder/ -exclude AmandaFolder/ --links
using the defaults; no config file
I've pasted the only relevant entries avove.