[Fedora-packaging] Executable example scripts in docs
Florian Festi
ffesti at redhat.com
Sat Mar 14 18:05:19 UTC 2009
Michael Schwendt wrote:
> On Fri, 13 Mar 2009 13:19:30 +0100, Ralf wrote:
>
>> Michael Schwendt wrote:
>>> On Fri, 13 Mar 2009 12:50:44 +0100, Ralf wrote:
>>>
>>>> > Such a warning is good, because it can happen that doc files are +x by
>>>> > mistake. Since executable scripts are easier to execute accidentally
>>>> > than non-executable scripts, making them -x is safer.
>>>> Only if you have them in $PATH.
>>> Also in current dir
>> *nix newbie lesson #1: Do not have '.' in $PATH.
>
> Fix your attitude. Do you still meet people who add '.' to $PATH?
echo 'rm -rf $HOME' > /tmp/ll; chmod 755 /tmp/ll
Have fun
Florian
More information about the Fedora-packaging
mailing list