[Gllug] rm -R not working on Fedora
Benedikt Heinen
gllug at ml.icemark.net
Fri Feb 11 22:31:35 UTC 2005
> Firstly, chmod and cp are not the same binary, so why should you expect
> them to behave in the same way just because you pass them the same
> letter as a parameter?
In general you don't need to expect it - but in general it's tried more
and more that common functionality uses common command line flags (-v is
usually for "verbose", -f is often used for "force" and -r for
"recursive").
Obviously, there are also commands that use the same flags for different
purposes if they don't have a similar function to the common one, or if
there are "historical" reasons for it...
>> chmod -R 644 *.html
[...]
> Secondly, that command would not touch anything in any subdirectories
> unless at least one of the directories in the current working directory
> also ended in .html.
Not to nitpick - but this command line wouldn't even change files within a
directory ending in .html ...
...simply because it would first set the directory permissions to 644, and
afterwards it wouldn't be able to access the directory (which requires the
execute permission)...
> I unfortunately do not know how to turn cheese into gold.
That's too bad - it would be a nice thing if you knew. That would at least
result in ONE use for cheese... ...cheese... Yak! ;-)
Benedikt
--
It seems I think I am, therefore it seems I am, I think!
--
Gllug mailing list - Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug
More information about the GLLUG
mailing list