Hi, I'm having problem using cwrsync to backup my data to an external drive as no data can't be opened on other computers because of permissions cwrsync sets.
This is my backup batch script:
SET ARGS=-rltShv --delete --chmod=ugo=rwX
for /F "tokens=2-4 delims=/ " %%i in ('date /t') do set date=%%k%%j%%i
SET BACKUP=%RSYNC% %ARGS% %EXCLUDES% %LOG%
%BACKUP% "/cygdrive/d/" "/cygdrive/h/D/"
%BACKUP% "/cygdrive/e/" "/cygdrive/h/E/"
%BACKUP% "/cygdrive/f/" "/cygdrive/h/F/"
none /cygdrive cygdrive binary,posix=0,user,noacl 0 0
These are permissions I get:
All are emtpy for all users hence inability to open them elsewhere.
Can anyone help, please?
This thing is quite annoying and all GUI apps i tried sucked and this is what i want to work with
Make sure that your fstab file is located at d:\software\protable\rsync, and try to remove
from your rsync command.
I'm afraid that this suggestion didn't have any impact on permissions.. :(
This has also been discussed at superuser.com . The problem was an etc/fstab file with no line ending.