Limit in number of files, or permission problem?

7 posts / 0 new
Last post
ToniVR
Offline
Last seen: 14 years 10 months ago
Joined: 01.05.2008 - 21:33
Limit in number of files, or permission problem?

I installed rsync on a Win2K server. I created an rsync path to /cygdrive/d read-only.When I start rsync from my Linux backup-server, it only receives 4475 files and directories, and I get some 'File has vanished' errors (which is normal for files that have filenames in another coding than used by rsync).

Can the rsync daemon on Windows access all files? Lots of the files on my server have special permissions that only the domain admin and a user can read them. Because the daemon runs as a local user account, I assume it won't work on domain permissions.

Any suggestions?

itefix
Offline
Last seen: 5 hours 33 min ago
Joined: 01.05.2008 - 21:33
Re: Limit in number of files, or permission problem?

OK, the suggestion is to NOT use the -C option with rsync.
The command I use now is:
rsync -auv rsync://boticelli/data /mnt/raid/boticelli/data

Which works. Just good to know.

itefix
Offline
Last seen: 5 hours 33 min ago
Joined: 01.05.2008 - 21:33
Re: Limit in number of files, or permission problem?

That only solves part of the problem.
Still not all files are transferred.
Can I run the rsync daemon as Domain Admin?

itefix
Offline
Last seen: 5 hours 33 min ago
Joined: 01.05.2008 - 21:33
Re: Limit in number of files, or permission problem?

cwRsync service account is an ordinary user if you installed only cwRsync Server, not the OpenSSH component. This account should have access to all files/dirs you to want to rsync. How it can be solved depends on the system.

You can try to add it to Administrators or Backup Operators (Both are local groups). Making this account a Domain Admini is an overkill and increases security risk.

Hope it helps.

itefix
Offline
Last seen: 5 hours 33 min ago
Joined: 01.05.2008 - 21:33
Re: Limit in number of files, or permission problem?

Is there no way to run it under another account? Would be easier.

itefix
Offline
Last seen: 5 hours 33 min ago
Joined: 01.05.2008 - 21:33
Re: Limit in number of files, or permission problem?

You can try to change service account manually. Make sure that this account has full access to installation directory.

itefix
Offline
Last seen: 5 hours 33 min ago
Joined: 01.05.2008 - 21:33
Re: Limit in number of files, or permission problem?

I changed the user to a domain account, and added the user as Full control to the install folder.I had to change some files' owner to Administrator to reset the permissions, but now it works.

Thanks!

Topic locked

Release news