Skip to contentSkip to conversation

Portmap Install Permissions

DISCUSSION Neil MacMunn 2 participants 3 messages Apr 7, 2011

lore
Share & tools
lore
#0 lore raw

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

Quoted 13 lines
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
Quoted 8 lines
| 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

Quoted 1 line

-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

#1 lore raw

2011/4/7 Neil MacMunn <[email protected]>:

Quoted 2 lines

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

This is issue in bitbake master. Please use bitbake 1.12 as workaround for now.

Signature · 1 line
Yury Bushmelev
#2 lore raw
Quoted 6 lines · Yury Bushmelev

2011/4/7 Neil MacMunn<[email protected]>:

Quoted 2 lines

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

This is issue in bitbake master. Please use bitbake 1.12 as workaround for now.

Back in business. Thanks.

--
Neil