Permissions issue w/Deltacopy and FreeNAS?

Status
Not open for further replies.

jbach2003

Dabbler
Joined
Apr 17, 2012
Messages
10
I'm using Deltacopy on Windows clients to back up to a remote FreeNAS server.

My backup command is: rsync.exe -v -rlt -z --chmod=a=rw,Da+x -e "ssh -p PORT# -l username -i sshkey" "/cygdrive/C/test/" "serveraddress.com:backup/test/"

And its fine...I'm able to see the file on the server via ssh. I delete the file on the client, then run this restore command:

rsync.exe -v -rlt -z --chmod=a=rw,Da+x -e "ssh -p PORT# -l username -i sshkey" "serveraddress.com:backup/test/" "/cygdrive/C/test/"

And the files in the test directory come back...only when I try to open them, I get "Access Denied"


I can open a cmd prompt, cd to Deltacopy directory, and chmod 777 filename and only then will it let me open it...is there a way for me to manipulate the chmod command for the restore to make the files available as soon as the command runs?
 
Status
Not open for further replies.
Top