[Gluster-devel] chown: changing ownership of `/build/install/bin/fusermount-glusterfs': Operation not permitted

Michael Scherer mscherer at redhat.com
Tue Jun 7 23:55:23 UTC 2016

Le mardi 07 juin 2016 à 23:30 +0200, Niels de Vos a écrit :
> On Tue, Jun 07, 2016 at 09:08:09PM +0530, Nigel Babu wrote:
> > Hello,
> > 
> > misc and I haven't been trying to debug the regression test failures
> > without much success. Does anyone know why the build fails with this:
> > 
> > chown: changing ownership of `/build/install/bin/fusermount-glusterfs':
> > Operation not permitted
> > 
> > See error log for more context:
> > https://build.gluster.org/job/rackspace-regression-2GB-triggered/21512/consoleFull
> From contrib/fuse-util/Makefile.am:
>   install-exec-hook:
>           -chown root $(DESTDIR)$(bindir)/fusermount-glusterfs
>           chmod u+s $(DESTDIR)$(bindir)/fusermount-glusterfs

I guess we need to add a '-' here.
(I know, I could make a patch, but after last time, I would rather wait
after the release if there is a non zero risk of me screwing up review)

> Is /build maybe mounted with nosuid or similar? I do not think it
> matters for our regression tests.

No, the script is running as jenkins, rather than root. I would say
that's a bug if make install assume to be run as root, since rpm do run
it as a non privileged user.

Michael Scherer
Sysadmin, Community Infrastructure and Platform, OSAS

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://www.gluster.org/pipermail/gluster-devel/attachments/20160608/4e07257e/attachment.sig>

More information about the Gluster-devel mailing list