Regarding File permissions

Hi,

I have a shellscript.I want to protect the source code.

So I gave 711 permission on the file(owner=rwx,group=x,others=x)

but still others are not able to execute it.

Please help me in protecting the source code.I don't want others to use any cat or vi command on the script but others should be able to execute it.

Thanks in anticipation.

Running your script requires r + x access.

Try compiling the script into an exectuable with shc

How to compile shc:

download shc from here:
shc 3.8.6 free download. shc project is a generic shell script compiler. It takes a script which is specified on the command line and produces C source cod