Re: Can I set the access level to the files with specified suffix when creating?



"Lazytiger" <baihaoping@xxxxxxxxx> wrote in message
news:1161753615.739617.276360@xxxxxxxxxxxxxxxxxxxxxxxxxxx

Every time I created a shell script, I had to chmod it to execute.

Why? "sh scriptname" will execute it w/o chmod.

yes, but in some conditions, the executable file is required of
course. I just want to know is possible?
if so,how?

To the best of my knowledge, it's mandatory to explicitly declare a script
as executable using chmod, and there are security reasons for such.

.



Relevant Pages