[Top][All Lists]
[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 08:11:57 -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
According to Peter Landgren on 7/5/2007 6:45 AM:
> Hi,
>
> Have got a problem with the cp command. It signals an error:
>
> address@hidden 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:
> address@hidden /]# 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 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
iD8DBQFGjPws84KuGfSFAYARAlGyAJ0QDycQqWTAOIsguNDr0SBjOVmhxQCgjmWK
QcMIaPDfsSLfqctRISMwT4E=
=LJ8l
-----END PGP SIGNATURE-----
- problme with cp-command, Peter Landgren, 2007/07/05
- Re: problme with cp-command,
Eric Blake <=
- Message not available
- Re: problme with cp-command, Eric Blake, 2007/07/05
- Re: problme with cp-command, Peter Landgren, 2007/07/05
- Re: problem with cp-command, Peter Landgren, 2007/07/06
- Re: problem with cp-command, Bob Proulx, 2007/07/06
- Re: problem with cp-command, Peter Landgren, 2007/07/06
- Re: problem with cp-command, Bob Proulx, 2007/07/07
- Re: problem with cp-command, Peter Landgren, 2007/07/07
- Re: problem with cp-command, Bob Proulx, 2007/07/07
- Re: problem with cp-command, Peter Landgren, 2007/07/07
- Re: problem with cp-command, Bob Proulx, 2007/07/07