[asterisk-bugs] [DAHDI-linux 0016063]: [patch] tar fails to chown in centos 4.3
Asterisk Bug Tracker
noreply at bugs.digium.com
Wed Oct 20 07:22:45 CDT 2010
The following issue has been ASSIGNED.
======================================================================
https://issues.asterisk.org/view.php?id=16063
======================================================================
Reported By: tzafrir
Assigned To: sruffell
======================================================================
Project: DAHDI-linux
Issue ID: 16063
Category: General
Reproducibility: have not tried
Severity: minor
Priority: normal
Status: assigned
JIRA:
Reviewboard Link:
======================================================================
Date Submitted: 2009-10-13 11:02 CDT
Last Modified: 2010-10-20 07:22 CDT
======================================================================
Summary: [patch] tar fails to chown in centos 4.3
Description:
System: Centos 4.
tar-1.14-12.RHEL4
Building as non-root.
tar: drivers/dahdi/vpmadt032_loader/vpmadt032_x86_64.o_shipped: Cannot
change ownership to uid 0, gid 0: Operation not permitted
tar: drivers/dahdi/vpmadt032_loader/vpmadt032_x86_32.o_shipped: Cannot
change ownership to uid 0, gid 0: Operation not permitted
tar: drivers/dahdi/vpmadt032_loader/vpmadt032_loader.h: Cannot change
ownership to uid 0, gid 0: Operation not permitted
tar: drivers/dahdi/vpmadt032_loader: Cannot change ownership to uid 0, gid
0: Operation not permitted
tar: drivers/dahdi: Cannot change ownership to uid 0, gid 0: Operation not
permitted
tar: drivers: Cannot change ownership to uid 0, gid 0: Operation not
permitted
tar: Error exit delayed from previous errors
make[2]: *** [dahdi-fwload-vpmadt032-1.17.0.tar.gz] Error 2
make[2]: Leaving directory
`/repo/debs_sarge/components/xpp-dahdi/linux/trunk/drivers/dahdi/firmware'
make[1]: *** [firmware-loaders] Error 2
make[1]: Leaving directory
`/repo/debs_sarge/components/xpp-dahdi/linux/trunk'
make: *** [modules] Error 2
I have not encountered this error later, and thus suspect it was fixed
later on (ignoring impossible application of -o) . This seems like a bug in
that specific version of tar at first glance. I have not looked for updates
yet.
Attached patch is a quick fix for this: removes the option '-o' from tar.
======================================================================
----------------------------------------------------------------------
(0128225) svnbot (reporter) - 2010-10-20 07:22
https://issues.asterisk.org/view.php?id=16063#c128225
----------------------------------------------------------------------
Repository: dahdi
Revision: 9434
U linux/trunk/drivers/dahdi/firmware/Makefile
------------------------------------------------------------------------
r9434 | sruffell | 2010-10-20 07:22:43 -0500 (Wed, 20 Oct 2010) | 11 lines
dahdi: '-o' -> '--no-same-owner' in drivers/dahdi/firmware/Makefile
It appears that in Centos 4, the version of tar doesn't like the -o
flag, but will honor the --no-same-owner flag.
(closes issue https://issues.asterisk.org/view.php?id=16063)
Reported by: tzafrir
Signed-off-by: Shaun Ruffell <sruffell at digium.com>
Acked-by: Kinsey Moore <kmoore at digium.com>
Acked-by: Russ Meyerriecks <rmeyerriecks at digium.com>
------------------------------------------------------------------------
http://svn.digium.com/view/dahdi?view=rev&revision=9434
Issue History
Date Modified Username Field Change
======================================================================
2010-10-20 07:22 svnbot Note Added: 0128225
2010-10-20 07:22 svnbot Status ready for testing =>
assigned
2010-10-20 07:22 svnbot Assigned To => sruffell
======================================================================
More information about the asterisk-bugs
mailing list