NineChime forum

Furry stuff, oekaki stuff, and other stuff.

You are not logged in.

Post a reply

Write your message and submit
Options
Humanity test

What is five + eight?

Go back

Topic review (newest first)

Waccoon
02-23-2008 01:21:45

It all depends on the particular security policy set by your host.  Some services force you to use only a specific number even if you shouldn't, or they might so something strange, like reserve the execute bit as a flag for some special security routine in the web server.  I do know of some hosts that refuse to allow access with permissions less than 777, and there are other hosts that do not work at all if you use 777.

755 is the standard CHMOD used for folders created by the script (the group ID belongs to PHP).  775 is the standard for folders created through FTP (so PHP's group ID can write to them).  If those default numbers don't work, and you really don't want to use 777, you'll have to ask your sysadmin which numbers to use.

Just for the heck of it, try using 766 and 776.  That would let you know if the execute bit has special meaning to the web server.

stray
02-22-2008 10:23:45

I'm trying to install Wacintaki and I'm running into the whole permissions thing. Here's what install.php gives me:

You need to CHMOD your main directory so it is writable (use 777 if you are not sure what to use).
You need to CHMOD the templates directory so it is writable (use 777 if you are not sure what to use).
The resource folder is present but not writable. CHMOD it so it is writable (use 777 if you are not sure what to use).
The pictures folder is present but not writable. CHMOD it so it is writable (use 777 if you are not sure what to use).

I really, really don't want to set the folders to 777, since that means anyone can write to the folder and that's just asking for trouble, but the install.php script won't run as either 755, 765 or even 775.

So here's what I'm wondering: can I run the installer as 777 and then downgrade the permissions to 775 or 755 afterwards and still have a working system?

EDIT: Dammit, I tried setting the templates/resource/pictures folders to 775 after install and now I get an error:

Pictures folder is locked! View Readme.txt for help.

Do I really have to set this thing as 777 for good?

Board footer

Yep, still running PunBB
© Copyright 2002–2008 PunBB