Hi Paul, hope you come by here to answer this.
I forget the 4-5 common file permissions I need to use.755 for my cgi files is bout the only one I can remember.
Can ya drop me a quick line telling me the others? lol
Thanks,
Bud aka web-user
|
d21c.com logon | domania.us logon |
| blog | forum | inbox | login/register | polls | |
file permissions ?
Submitted by Bud on May 13, 2006 - 11:04pm.
Editor and file manager
Hi Paul, hope you come by here to answer this. I forget the 4-5 common file permissions I need to use.755 for my cgi files is bout the only one I can remember. Can ya drop me a quick line telling me the others? lol Thanks, Bud aka web-user Cool, I vaguely remember aSubmitted by Bud on May 14, 2006 - 8:28pm.
Cool, I vaguely remember a permission to set a directory to prevent viewing it in its contenet-I am really gonna confue people now-lol Thanks, Bud aka web-user Your permissions, as an SSHSubmitted by Paul Ding on May 14, 2006 - 9:30pm.
Your permissions, as an SSH user, are the same that your CGI applications have: the first of the three numbers. Apache (the http daemon) and PHP use the last of the three numbers. 7 = read/write/execute (entering a directory is executing it.) Some of us don't need to set file permissions in order to confuse people. Just born with it, I guess.
I don't like to see obscurantist sesquipedalianisms where simple words will do. It's not a matter of etymology but one of clarity. |
Most things should be 644.
Most things should be 644. CGI files and directories should be 755.
For PHP to edit files, they need to have 666 permissions, and if they are PHP configuration files that need to be executed, 777 permissions. Those are dangerous permissions, and a reason to prefer Perl or Python over PHP, if you're developing your own apps.
(Before everyone else gets confused, Bud can run CGI permissions on his account, unlike most Domania users. We're working on providing that to everybody.)
I don't like to see obscurantist sesquipedalianisms where simple words will do. It's not a matter of etymology but one of clarity.