bug-coreutils
[Top][All Lists]
Advanced

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

Re: chown should catch null owner:group


From: Matthew Woehlke
Subject: Re: chown should catch null owner:group
Date: Fri, 15 Feb 2008 17:05:37 -0600
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.0

address@hidden wrote:
Please don't let me get away with
# chown : file...
# chown -R : file...
# chown . file...
# chown -R . file...
without raising an error.
"The user thought -R meant --reference. He returned on Monday to find
a pink slip on his desk as the boss was not able to access the presentation."

Um... what exactly happened? On at least coreutils 6.6 and 6.9, it simply does nothing (albeit successfully). I do get an error with coreutils 4.5.3 (don't ask me why RH3 has such an ancient version of coreutils...). But in no case did I successfully change the owner or group of my test files.

--
Matthew
A pool hall put up a sign in their front window that read: "Profound language prohibited within." I could just imagine some people discussing the meaning of life and being told to take it outside. -- Scott Adams





reply via email to

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