GNU bug report logs -
#10636
chown verbose option (-v) reports incorrect retained owner:group
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 10636 in the body.
You can then email your comments to 10636 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-coreutils <at> gnu.org
:
bug#10636
; Package
coreutils
.
(Sun, 29 Jan 2012 01:29:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Tero Nieminen <tero.t.nieminen+private <at> jyu.fi>
:
New bug report received and forwarded. Copy sent to
bug-coreutils <at> gnu.org
.
(Sun, 29 Jan 2012 01:29:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
I just noticed that when I use chown like this:
chown -hRv --from=500:500 1000:1000 nnn (as root)
it prints incorrect information on retained owner:group, like this:
ownership of `nnn/lost+found' retained as 1000:1000
Ie. instead of printing the actual retained owner and group (in this
case root:root) it seems to incorrectly print the owner:group I was
trying to change to.
Is this maybe a bug in Gnu-coreutils/chown or just in the particular
version (8.12) shipped with Fedora 16 (coreutils-8.12-2.fc16.x86_64)?
I could Only found a single non-bug for chown in debbugs.gnu.org (maybe
I just don't know how to search ;).
If this is fixed or nonexistent in GNU-coreutils, I'll file the bug to
Fedora.
--
Tero Nieminen
ttn <at> jyu.fi
Information forwarded
to
bug-coreutils <at> gnu.org
:
bug#10636
; Package
coreutils
.
(Sun, 29 Jan 2012 09:57:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 10636 <at> debbugs.gnu.org (full text, mbox):
Tero Nieminen wrote:
> I just noticed that when I use chown like this:
>
> chown -hRv --from=500:500 1000:1000 nnn (as root)
>
> it prints incorrect information on retained owner:group, like this:
>
> ownership of `nnn/lost+found' retained as 1000:1000
>
> Ie. instead of printing the actual retained owner and group (in this
> case root:root) it seems to incorrectly print the owner:group I was
> trying to change to.
>
> Is this maybe a bug in Gnu-coreutils/chown or just in the particular
> version (8.12) shipped with Fedora 16 (coreutils-8.12-2.fc16.x86_64)?
>
> I could Only found a single non-bug for chown in debbugs.gnu.org
> (maybe I just don't know how to search ;).
Thank you for noticing and reporting that bug.
You guessed it. It is specific to Fedora's version of chown.
I.e., when I try to reproduce it with the chown from stock
coreutils-8.15, it works as expected.
Actually, this can be demonstrated by non-root.
The F16-supplied chown (coreutils-8.12-2.fc16.x86_64) fails:
$ /bin/chown -v --from=1:1 $UID:$UID /
ownership of `/' retained as 1000:1000
When I run the one from coreutils-8.15, it works as expected:
$ chown -v --from=1:1 $UID:$UID / :
ownership of '/' retained as root:root
> If this is fixed or nonexistent in GNU-coreutils, I'll file the bug to Fedora.
Thanks!
Reply sent
to
Jim Meyering <jim <at> meyering.net>
:
You have taken responsibility.
(Sun, 29 Jan 2012 10:13:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Tero Nieminen <tero.t.nieminen+private <at> jyu.fi>
:
bug acknowledged by developer.
(Sun, 29 Jan 2012 10:13:02 GMT)
Full text and
rfc822 format available.
Message #13 received at 10636-done <at> debbugs.gnu.org (full text, mbox):
tags 10636 notabug
thanks
...
> Thank you for noticing and reporting that bug.
> You guessed it. It is specific to Fedora's version of chown.
> I.e., when I try to reproduce it with the chown from stock
> coreutils-8.15, it works as expected.
Oh, and since it's not an upstream bug, I'm marking it as such
and closing its ticket.
Information forwarded
to
bug-coreutils <at> gnu.org
:
bug#10636
; Package
coreutils
.
(Sun, 29 Jan 2012 10:51:01 GMT)
Full text and
rfc822 format available.
Message #16 received at 10636 <at> debbugs.gnu.org (full text, mbox):
Jim Meyering wrote:
> tags 10636 notabug
> thanks
>
> ...
>> Thank you for noticing and reporting that bug.
>> You guessed it. It is specific to Fedora's version of chown.
>> I.e., when I try to reproduce it with the chown from stock
>> coreutils-8.15, it works as expected.
>
> Oh, and since it's not an upstream bug, I'm marking it as such
> and closing its ticket.
Finally, this was fixed by upstream commit v8.12-59-g6b282e7:
http://git.sv.gnu.org/cgit/coreutils.git/commit/?id=6b282e7510ca8d
Added tag(s) notabug.
Request was from
Jim Meyering <jim <at> meyering.net>
to
control <at> debbugs.gnu.org
.
(Sun, 29 Jan 2012 11:12:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sun, 26 Feb 2012 12:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 13 years and 174 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.