you could also use 

chmod 755 ./filename

first number is owner, second is group, and third is everyone..

then you have the  breakdown...

4 == read
2 == write
1 == execute

so 755 means:

7 == 4+2+1 for full permissions to owner.
5 == 4+1   meaning read and execute to the group not write.
5 == Ditto to the above.

make sense?


regards

Frank


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of faisal gillani
Sent: Monday, 9 July 2001 12:45 PM
To: [EMAIL PROTECTED]
Subject: [expert] making shell script excutable.........


well i finally wrote my first shell script ... now i
want to make it
excutable ... i dont want to run it as ./filename
i tried to make it excutable with the following
command

chmod a+x ./filename

is it ok ?
if yes then why is it not working

thanks
Faisal




__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/


Reply via email to