Re: rsync errors when using latest ftpsync

Bastian Blank <[email protected]>
Newsgroups gmane.linux.debian.user.mirrors
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.