-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Peter Landgren on 7/5/2007 6:45 AM: > Hi, > > Have got a problem with the cp command. It signals an error: > > [EMAIL PROTECTED] peter]# cp -f qazpx.txt /tmp/qazpxtttt.txt > cp: setting attributes for "/tmp/qazpxtttt.txt": Operationen stöds ej > (translates as "operation not supported") > The file is copied, but if the cp-comamnd is in a Makefile, it exits! > (I have made a su-command and given the root password.)
It sounds like /tmp/qazpxtttt.txt exists, and has a different owner or permissions which make it so that you can't change the owner when acting as yourself. Care to list the output of: $ ls -ld /tmp /tmp/qazpxtttt.txt $ id > > This happens when I do "make install" as root. > > If I cd to the root I can do a similar: > [EMAIL PROTECTED] /]# cp -f qazroot.txt /tmp/qazptttt.txt Root can do whatever it wants (which is why it is dangerous to act as root unless you know what you are doing). - -- Don't work too hard, make some time for fun as well! Eric Blake [EMAIL PROTECTED] -----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 iD8DBQFGjPws84KuGfSFAYARAlGyAJ0QDycQqWTAOIsguNDr0SBjOVmhxQCgjmWK QcMIaPDfsSLfqctRISMwT4E= =LJ8l -----END PGP SIGNATURE----- _______________________________________________ Bug-coreutils mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-coreutils
