All of lore.kernel.org
 help / color / mirror / Atom feed
From: Neil MacMunn <neil@gumstix.com>
To: openembedded-devel <openembedded-devel@lists.openembedded.org>
Subject: Portmap Install Permissions
Date: Thu, 07 Apr 2011 11:39:41 -0700	[thread overview]
Message-ID: <4D9E04ED.4000102@gumstix.com> (raw)

I recently switched to angstrom-2010.x and now I'm running into what 
appears to be a permissions issue.

> neil@cumulus:~/overo-oe/org.openembedded.dev$ bitbake omap3-desktop-image
> <snip>
> | ERROR: Function 'do_install' failed (see /home/neil/overo-oe/tmp-unstable/work/armv7a-angstrom-linux-gnueabi/portmap-6.0-r5/temp/log.do_install.10931 for further information)
> | + cd /home/neil/overo-oe/tmp-unstable/work/armv7a-angstrom-linux-gnueabi/portmap-6.0-r5/portmap_6.0/
> | + do_install
> | + install -d /home/neil/overo-oe/tmp-unstable/work/armv7a-angstrom-linux-gnueabi/portmap-6.0-r5/image/usr/share/man/man8/ /home/neil/overo-oe/tmp-unstable/work/armv7a-angstrom-linux-gnueabi/portmap-6.0-r5/image/sbin /home/neil/overo-oe/tmp-unstable/work/armv7a-angstrom-linux-gnueabi/portmap-6.0-r5/image/etc/init.d
> | + install -m 0755 /home/neil/overo-oe/tmp-unstable/work/armv7a-angstrom-linux-gnueabi/portmap-6.0-r5/portmap.init /home/neil/overo-oe/tmp-unstable/work/armv7a-angstrom-linux-gnueabi/portmap-6.0-r5/image/etc/init.d/portmap
> | + oe_runmake install DESTDIR=/home/neil/overo-oe/tmp-unstable/work/armv7a-angstrom-linux-gnueabi/portmap-6.0-r5/image
> | + oenote make -e MAKEFLAGS= install DESTDIR=/home/neil/overo-oe/tmp-unstable/work/armv7a-angstrom-linux-gnueabi/portmap-6.0-r5/image
> | + echo NOTE: 'make -e MAKEFLAGS= install DESTDIR=/home/neil/overo-oe/tmp-unstable/work/armv7a-angstrom-linux-gnueabi/portmap-6.0-r5/image'
> | NOTE: make -e MAKEFLAGS= install DESTDIR=/home/neil/overo-oe/tmp-unstable/work/armv7a-angstrom-linux-gnueabi/portmap-6.0-r5/image
> | + make -e MAKEFLAGS= install DESTDIR=/home/neil/overo-oe/tmp-unstable/work/armv7a-angstrom-linux-gnueabi/portmap-6.0-r5/image
> | install -o root -g root -m 0755 portmap /home/neil/overo-oe/tmp-unstable/work/armv7a-angstrom-linux-gnueabi/portmap-6.0-r5/image/sbin
> | install: cannot change ownership of `/home/neil/overo-oe/tmp-unstable/work/armv7a-angstrom-linux-gnueabi/portmap-6.0-r5/image/sbin/portmap': Operation not permitted
> | make: *** [install] Error 1
> | + die 'oe_runmake failed'
> | + oefatal 'oe_runmake failed'
> | + echo FATAL: 'oe_runmake failed'
> | FATAL: oe_runmake failed
> | + exit 1
> <snip>

ls -la in the destination directory gives
> -rw------- 1 neil neil 90441 2011-04-07 08:38 portmap

The portmap recipe doesn't appear to have changed. I tried changing the 
permissions and owner manually and it demanded credentials. How 
does(did) it get away with changing the file owner and group? Does the 
install step use chown?

Thanks.
--
Neil





             reply	other threads:[~2011-04-07 18:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-07 18:39 Neil MacMunn [this message]
2011-04-07 18:55 ` Portmap Install Permissions Yury Bushmelev
2011-04-07 19:14   ` Neil MacMunn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D9E04ED.4000102@gumstix.com \
    --to=neil@gumstix.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.