Good day to all of you all,
I'm running into strange/stupid errors, and I hope anybody would be so kind to help me out. I have to admit, I am by no means a guru, so please bear with me :-)
Situation:
-Synology NAS (runs Linux), and Windows 7 desktop (1 normal/restricted user Lisa and 1 admin user).
- Data from W7 desktop to be rsynced to synology: /volume1/home/Lisa/Backup
- Rsync command: c:\cygwin\bin\rsync -avz /cygdrive/e/Lisa/
[email protected]:/volume1/homes/Lisa/Backup
- I've set up ssh per these two threads:
a. http://www.cesareriva.com/archives/102
b. http://www.cesareriva.com/archives/112
Now the horrors begin:
- root is allowed to run the rsync succesfully, however, he doesn't login automatically (so I can not use rsync in W7 batchscripts, which is of course required).
- Lisa is allowed to login automatically but he can not succesfully finish the rsync command because of permission errors:
rsync change dir /volume1/homes/Lisa/Backup failed: permissions denied.
This happens for each and every file and subdir rsync tries to create. However, the main directory (Backup) is created.
When I try to copy files from windows explorer to the directory 'Backup' using the very same user Lisa everything goes smoothly.
So, obviously, there is a permission problem somewhere; either my rsync-command isn't correct, or the folder permissions for homes/Lisa aren't correct (but, then again, Windows 7 copies files to that folder without any problems, so that does make me believe the homes/Lisa-permissions don't appear to be the problem).
I also tried adding: --chmod=Dugo+x --chmod=ugo+r which I found somewhere on the web, to the rsync-command, but this didn't solve any problem and gave the exact errors.
Would anybody please please help me on how to fix this? I am utterly frustrated about this, because I have been trying for 1 month to get everything to work and it simply doesn't work. I bought the big Synology to end the horrors of 20 external USB-disks for once and for all (we have many
pictures and home vids of our deceased dogs and want to watch these, the horrors being 'what material is on what disk').
I'll gladly return the favour of somebody helping me out by buying you a nice beer (paypal), if you could end my misery.
I am not extremely skilled on Linux (not at all :-( ) so if you could give an extra word when possible so I understand what to do, I'd be very grateful.
I really hope somebody can help me out,
Thank you in advance,
Lisa