Re: chown: changing ownership of `/build/install/bin/fusermount-glusterfs': Operation not permitted

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

 



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


Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Gluster-devel mailing list
Gluster-devel@xxxxxxxxxxx
http://www.gluster.org/mailman/listinfo/gluster-devel

[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux