bug-coreutils
[Top][All Lists]
Advanced

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

Re: problme with cp-command


From: Eric Blake
Subject: Re: problme with cp-command
Date: Thu, 05 Jul 2007 09:02:38 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.12) Gecko/20070509 Thunderbird/1.5.0.12 Mnenhy/0.7.5.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Please keep replies on the list, so that others may contribute or see the
resolution.

According to Peter Landgren on 7/5/2007 8:55 AM:
> 
> OK, I know that, but my problems come when I do a normal su and "make 
> install":
> 
> The first three cp-commands are OK, but not the fourth:
> 
> address@hidden sip-4.6]$ su
> Password:
> address@hidden sip-4.6]# make install
> make[1]: Entering directory `/home/progman/src/sip-4.6/sipgen'
> cp -f sip /usr/bin/sip
> make[1]: Leaving directory `/home/progman/src/sip-4.6/sipgen'
> make[1]: Entering directory `/home/progman/src/sip-4.6/siplib'
> cp -f sip.so /usr/lib/python2.5/site-packages/sip.so
> strip /usr/lib/python2.5/site-packages/sip.so
> cp -f sip.h /usr/include/python2.5/sip.h
> make[1]: Leaving directory `/home/progman/src/sip-4.6/siplib'
> cp -f sipconfig.py /usr/lib/python2.5/site-packages/sipconfig.py
> cp: setting attributes for "/usr/lib/python2.5/site-packages/sipconfig.py": 
> Operationen stöds ej
> make: *** [install] Fel 1
> address@hidden sip-4.6]#

Can you run the same command via strace, and see which syscall was failing?

> 
> The files is copied:
> address@hidden site-packages]$ ls -l sipconfig.py
> -rw-r--r-- 1 root root 81902 jul  5 16:45 sipconfig.py
> address@hidden site-packages]$
> 
> As I do this as root, cp should not complain?

It makes no difference whether you are root - when cp encounters problems,
it must report them.  Instead, we need to figure out why cp encountered a
problem as root.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGjQgO84KuGfSFAYARAti+AJ4jWG5yiypPNVIObTvT4R4VAyfPswCfaHeh
KqrH8vmsKQQO07n9JS2K26Q=
=EAcw
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]