bug-coreutils
[Top][All Lists]
Advanced

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

Re: [chown -R user_id:grpup_id] PROBLEM %CPU=99.7 %MEM=90.3


From: Djuradj Uzelac
Subject: Re: [chown -R user_id:grpup_id] PROBLEM %CPU=99.7 %MEM=90.3
Date: Mon, 3 Oct 2005 03:33:45 -0700 (PDT)

My apologize
Thank you very very much for your answer and your time
for me.
I just recopiled a new coreutils 5.90 packet, but I
still have a problem.
Just repeat... evrything are working propertly ... and
just at once.I have a idetical packet of system when
is working propertly and now when not work.
I use strace comnand in two case
first case is when commnad working ok, and second case
is when chown command do not working
I attach two files - chown.ok and chown.do.not.work
Difference of execute 

------------------------------------------------------
execve("/bin/chown", ["chown", "-R", "djuradj:users",
"/home/djuradj/"], [/* 54 vars */]) = 0
------------------------------------------------------

and

------------------------------------------------------
execve("/bin/chown", ["chown", "-R", "500:100",
"/home/djuradj/"], [/* 54 vars */]) = 0
------------------------------------------------------

is when command try to open a passwd file.Line below 
is only in chown.do.not.work
------------------------------------------------------
fstat64(3, {st_mode=S_IFREG|0644, st_size=15090, ...})
= 0
------------------------------------------------------

and chown comand after this try to open a group file
and in this time comand go to a loop and start ti take
a much resurce of cpu and memory


So, I attach two file where you will see orginal log
from strace comand.

Yet once
thank you very very much
Best regards
Dj.




--- Paul Eggert <address@hidden> wrote:

> Djuradj Uzelac <address@hidden> writes:
> 
> > coreutils-5.0-90
> 
> > chown -R 735:100 DO NOT WORK
> > chown -R new_username.group WORK :)
> 
> Thanks for reporting this.  That's odd.  I can't
> reproduce this
> problem in my environment (Debian GNU/Linux 3.1 with
> coreutils 5.90
> installed).
> 
> Perhaps you can try coreutils test version 5.90 and
> see whether the
> problem still exists with its chown.  There have
> been a lot of fixes
> to chown since 5.0 came out.
> 
>
ftp://alpha.gnu.org/gnu/coreutils/coreutils-5.90.tar.gz
> 


                
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com

Attachment: chown.ok
Description: 551679463-chown.ok

Attachment: chown.do.not.work
Description: 4060810667-chown.do.not.work


reply via email to

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