[Ci-users] rsync/artifacts regression with symlinks?

Jonathan Lebon jlebon at redhat.com
Fri Aug 24 13:58:04 UTC 2018


On Fri, Aug 24, 2018 at 8:31 AM, Fabian Arrotin <arrfab at centos.org> wrote:
> That solved the "operation not permitted" issue that some projects had
> when pushing to artifacts (discussed in #centos-devel)

Ahh awesome, we've definitely been hitting that as well and ended up
peppering chown/chmods a bit everywhere.

> Can you verify that if src is a symlink on your side and that you rsync
> to artifacts, that issue is still there ? (aka consider a file and not a
> symlink at all)

I can confirm that's still the case:

```
$ rsync --delete --stats -a
sig-atomic at artifacts.ci.centos.org::sig-atomic/fahc/rdgo/ rdgo/
$ file rdgo/build
rdgo/build: symbolic link to `build-0'
```

And yet:

```
$ curl -I http://artifacts.ci.centos.org/sig-atomic/fahc/rdgo/build/
HTTP/1.1 404 Not Found
Date: Fri, 24 Aug 2018 13:51:16 GMT
Server: Apache/2.4.6 (CentOS) PHP/5.4.16
Content-Type: text/html; charset=iso-8859-1
```

Compare with:

```
$ curl -I http://artifacts.ci.centos.org/sig-atomic/centos-continuous/rdgo/build/
HTTP/1.1 200 OK
Date: Fri, 24 Aug 2018 13:51:08 GMT
Server: Apache/2.4.6 (CentOS) PHP/5.4.16
Content-Type: text/html;charset=ISO-8859-1
```

which is also a symlink, but somehow that one works.



More information about the Ci-users mailing list