Can't figure out permissions

4 posts / 0 new
Last post
Anonymous
Can't figure out permissions

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:

 

@ECHO OFF

SET RSYNC=D:\Software\Portable\Rsync\bin\rsync.exe

SET ARGS=-rltShv --delete --chmod=ugo=rwX

SET EXCLUDES=--exclude-from="/cygdrive/d/Software/Portable/Rsync/excludes.txt"

for /F "tokens=2-4 delims=/ " %%i in ('date /t') do set date=%%k%%j%%i

SET LOG=--log-file="/cygdrive/d/Software/Portable/Rsync/logs/%date%.log"

SET BACKUP=%RSYNC% %ARGS% %EXCLUDES% %LOG%

 

%BACKUP% "/cygdrive/d/" "/cygdrive/h/D/"

%BACKUP% "/cygdrive/e/" "/cygdrive/h/E/"

%BACKUP% "/cygdrive/f/" "/cygdrive/h/F/"


My fstab:

none /cygdrive cygdrive binary,posix=0,user,noacl 0 0


These are permissions I get:

http://i.imgur.com/5goUjXh.png

 

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

itefix
Offline
Last seen: 1 week 6 days ago
Joined: 01.05.2008 - 21:33
Make sure that your fstab

Make sure that your fstab file is located at d:\software\protable\rsync, and try to remove 

--chmod=ugo=rwX 

from your rsync command.

 

pentago
I'm afraid that this

I'm afraid that this suggestion didn't have any impact on permissions.. :(

itefix
Offline
Last seen: 1 week 6 days ago
Joined: 01.05.2008 - 21:33
This has also been discussed

This has also been discussed at superuser.com . The problem was an etc/fstab file with no line ending.

Release announcements