[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: rsync errors when using latest ftpsync



Hi Steve

On Thu, Oct 12, 2017 at 07:43:39AM +1100, Steve (IWWD) wrote:
> I'm receiving the following errors while running the latest version of
> ftpsync on our mirror:

> rsync: link
> "/mirrors/debian/dists/sid/main/installer-amd64/20170828/images/cdrom/xen/in
> itrd.gz" =>
> dists/buster/main/installer-amd64/20170828/images/cdrom/xen/initrd.gz
> failed: Operation not permitted (1)

This looks odd.  This file is actually a symlink, but got two names.

> There doesn't seem to be any permissions issues, but the file it's
> attempting to link to is also a link to another location.

Permission problems would be EACCESS or "Permission denied".  "Operation
not permitted" is something that can't be done for other reasons.

> I'm unable to find any resources which indicate a similar issue or
> resolution.  Is anyone able to point me in the right direction?

What kind of filesystem do you use?

Are all parts of the mirror tree owned by the same user?  There may be
some hardlink protection in place that forbids hard-links for files the
user can't write.  As this is a symlink, rsync may not be able to change
the owner.

Regards,
Bastian

-- 
It is a human characteristic to love little animals, especially if
they're attractive in some way.
		-- McCoy, "The Trouble with Tribbles", stardate 4525.6


Reply to: