bug-coreutils
[Top][All Lists]
Advanced

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

Re: problem with cp-command


From: Peter Landgren
Subject: Re: problem with cp-command
Date: Sat, 7 Jul 2007 21:09:49 +0200
User-agent: KMail/1.9.6

Bob,

> Throughout the coreutils there has been a goal to detect and report
> errors because silent data corruption due to an unreported error is
> very bad.  Unfortunately not all projects have this as their goal.
> This is not saying anything about konqueror or krusader because I
> don't know but looking at it from here the fact that they did not
> report an error does not mean that an error did not occur.  It may
> have simply gone unreported.  Unfortunately this is simply a "no data"
> point.

I agree. Error reporting is important. Unhandled errors can easily cause big 
problems.
 
> The trace shows routines called attr_copy_file() and
> attr_copy_check_permissions() and it appears to be the latter one that
> is faiing.  I also see the string "setting attributes for %s" and
> similar.  However none of those appear in coreutils.  They appear in
> libattr.  This appears to be a patched version of coreutils for
> SELinux, I guess?

Well, I'm using Mandriva Linix Spring 2007. I search for the error strings, but 
coild not find them. 
It's strange that "setting attributes for %s" is not translated as all other 
strings in coreutils are.
So it must come from somwere else. I don't know if Mandriva has patched things 
from SELinux,
but I have not found any evidence for that.
 
> You might try turning off the SELinux policy layer and seeing if the
> problem goes away at that time.
Which I can't do as I'm not running it.

> I would also try compiling a pristine copy of coreutils.  It is
> possible that a bug was introduced by the 3rd party patches.

Yes, I have already downloaded 6.9 compiled and installed it in /usr/local/.
I had to rearrange PATH a little.
And the error does NOT show up. However, the "-f" or "--force" flag does not 
seem to work.
Even with it, I get a question about overwriting.

/Peter

-- 
Peter Landgren
Talken Hagen
671 94 Brunskog

0570-530 21
070 -635 4719
address@hidden
Skype: pgl4820




reply via email to

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