When you upload a script to a web server, it is set to be only readable
and writable by the owner and everyone else can only read it. Here, we will
explain the process of changing the permissions of your scripts.
1). Telnet to your unix server and navigate to the directory that
contains the file you wish to set permissions. 2). At the unix prompt, type chmod 3). On the same line, type a space then -v to get a message
confirming permissions when executed. 4). Next, still on the same line, type oge where o
is the number for owner's permission, g is the number for group permissions,
and e is the number for everyone else's permissions. 5). Now, still on the same line, type the script's full name you
wish to change 6). Press Enter
Note: Use 755 for scripts that need to be executed and use 644 for
non-executable files.