* Steve Newberry
> Invoke /sbin/chmod -c 777 <path and newfilename>. Then ls -l <newfilename>
> It should say 'rwxrwxrwx'.  Try running it.  Good luck.
> 
> If it works, make a copy of it and save in a different directory.
> The reason for all the argle-bargle is that linux has special RULES
> that it applies to files written by SCRIPT, and those rulews can drive
> you absolutely @#$%^&*() insane.  So you copy to a new [normal] file.
> 
> Drop me a line when it works!

Oh no, this is wrong.  You enable anyone to _delete_ or _change_ your
script.  This is a severe security vulnerability.

The proper command is:

 chmod 755 myscript

if anyone should be able to run it, or

 chmod 700 myscript

if only the user.

-- 
 Jon Haugsand, [EMAIL PROTECTED]
 http://www.norges-bank.no



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to