Web Hosting Talk







View Full Version : permissions what do i set


GregShasta
07-23-2001, 09:18 PM
what permissions should i set for my site:

mode user group world

read checked checked blank
write checked blank blank
execute blank blank blank
permissions 6 4 0


this is what my cpanel looks like now for various files.
should i set the permissions differently for my index page than other pages.
in short how do i need to set them for a site that isnt password protected.

oscar de la renta,
Greg

bombino
07-23-2001, 11:27 PM
For regular web-published files, (not CGI/PHP/ASP-generated or modified), the 644 permission (read+write access to you, read access to everyone else) will work just fine.

Btw. 644 is:
check check check
check blank blank
blank blank blank

GregShasta
07-24-2001, 05:45 PM
thanks i appreciate the info I couldnt figure it out and the documentation with my host was pretty weak altho they seem to be a pretty good host.

Thx again,
Greg

Planet Z
07-24-2001, 06:18 PM
The index page doesn't need to have different permissions than your other HTML pages. You may need to set CGI/Perl scripts to 755 or some other mode (777...) which allows them to be executed or written to.