[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: chown should catch null owner:group
From: |
Eric Blake |
Subject: |
Re: chown should catch null owner:group |
Date: |
Mon, 18 Feb 2008 13:10:10 -0700 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
According to Linda Walsh on 2/18/2008 11:34 AM:
Please don't top-post - on this list, we prefer to see replies in context.
| What does it do? You said it reset somebody's boss's access so he could
| not read some file. Was this hyperbole? When I just tried it on a
| local directory, "chown -R ." gave an error, while "chown -R : ."
| appeared to do nothing on linux, under cygwin, it did reset 'group' id's
| from "null" (uid=-1) to my default group, but didn't affect other groups.
| But I haven't found a linux case where it does something, yet... :-)
Hmm. The info documentation states:
OWNER`:'
~ If a colon but no group name follows OWNER, that user is made the
~ owner of the files and the group of the files is changed to
~ OWNER's login group.
`:'
~ If only a colon is given, or if NEW-OWNER is empty, neither the
~ owner nor the group is changed.
But you claim that using just `:' (or it's obsolete synonym `.') resulted
in changing the group to the default login group, rather than being a
no-op. I'm wondering whether this is a cygwin porting bug or an upstream
documentation bug.
- --
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
iD8DBQFHueYi84KuGfSFAYARAiilAJ4indLMVFhkTp5vt2AxMST7Og4bSQCgo2vk
Tsq0+JOBQh25LceJbNAmC2Y=
=b+hw
-----END PGP SIGNATURE-----
- chown should catch null owner:group, jidanni, 2008/02/15
- Re: chown should catch null owner:group, Matthew Woehlke, 2008/02/15
- Re: chown should catch null owner:group, Paul Eggert, 2008/02/15
- Re: chown should catch null owner:group, jidanni, 2008/02/15
- Re: chown should catch null owner:group, Eric Blake, 2008/02/15
- Re: chown should catch null owner:group, Linda Walsh, 2008/02/18
- Re: chown should catch null owner:group, jidanni, 2008/02/18
- Re: chown should catch null owner:group, Eric Blake, 2008/02/18
- Re: chown should catch null owner:group, Linda Walsh, 2008/02/18
- Re: chown should catch null owner:group, Jim Meyering, 2008/02/18
- Re: chown should catch null owner:group,
Eric Blake <=
- Re: chown should catch null owner:group, jidanni, 2008/02/18