[Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
rsync: Permission denied  XML
Forum Index » DeltaCopy Usage
Author Message
Anonymous



Hello,

I installed DeltaCopy on my computer. I would like to sync a folder on my Gentoo Linux server. I set the configuration file rsyncd.conf and everything is working except the transfert.
rsync: change_dir#1 "/WarSeeker/" (in documents) failed: Permission denied (13)


I know what is the probleme: The permission access aren't set when DeltaCopy upload files. The UID and GID are ok but not the chmod.

# ls -lh
total 4,0K
d--------- 2 nobody nobody 4,0K jun 24 21:26 WarSeeker


If I chmod 755 -R . on my server everything is working and the files are sync'ing. I don't know where does this probleme come from. Here is my rsync.conf:

# /etc/rsyncd.conf

# Minimal configuration file for rsync daemon
# See rsync(1) and rsyncd.conf(5) man pages for help

# This line is required by the /etc/init.d/rsyncd script
pid file = /var/run/rsyncd.pid
use chroot = yes
read only = yes
#strict modes = false

uid = nobody
gid = nobody

# Simple example for enabling your own local rsync server
#[gentoo-portage]
# path = /usr/portage
# comment = Gentoo Portage tree
# exclude = /distfiles /packages

[documents]
path = /home/jamesb/rsync/
comment = Document
read only = no
auth users = jamesb
secrets file = /etc/rsyncd.secrets


Thank you very much in advance !
DeltaCopy is very useful and very very well built. Thank you for your good work.

Jamesb
Anonymous



I found a solution.

I had to use chmod.exe who is in DelaCopy dir to apply (on my Windows PC) the 755 mod to all my files and folders that I want to backup. I haven't access denied any more.
Is there an other solution to do that without chmod everything ?

Jamesb
Anonymous



I want to use DeltaCopy to backup a Linux-based Web site to a Windows Vista computer.
I had DeltaCopy doing what I wanted on an XP computer, but I can't get it working with Vista.
When I run the rsync command on the Linux computer, I get the following error:

@ERROR: chdir failed
rsync: connection unexpectedly closed (33 bytes read so far)
rsync error: error in rsync protocol data stream (code 12) at io.c(165)

Any suggestions?
Anonymous



Sorry, the reply immediately above was meant to be a new topic.

Anyway, after trying just about every combination of setting for DeltaCopy and my firewall and my router, I managed to get DeltaCopy working, using a Linux server as the client and a Windows Vista PC as the DeltaCopy server.
 
Forum Index » DeltaCopy Usage
Go to:   

This website is owned and maintained by Synametics Technologies Inc. For questions contact support@synametrics.com

Support | Privacy Policy | Company Info