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 eight + one?

Go back

Topic review (newest first)

Dax
10-10-2007 10:44:01

Waccoon wrote:

Yes.  Try this patch:  CHMOD mod

The setting to enable the CHMOD mod is in "hacks.php" under the name "GROUP_READABLE".  Set it to 1 to force a new CHMOD number for pictures, animations, and avatars.

The default is 0644.  If you need to change that, look for the function w_group_readable() in "common.php".  Make sure whatever number you use is a string with the zero prefix intact.

Please let me know if this works properly, since I use a Windows machine for testing, so I can only test the owner octal, not the group octal.

Yep, worked fine!

Thanks a bunch!

Waccoon
10-10-2007 07:38:10

Yes.  Try this patch:  CHMOD mod

The setting to enable the CHMOD mod is in "hacks.php" under the name "GROUP_READABLE".  Set it to 1 to force a new CHMOD number for pictures, animations, and avatars.

The default is 0644.  If you need to change that, look for the function w_group_readable() in "common.php".  Make sure whatever number you use is a string with the zero prefix intact.

Please let me know if this works properly, since I use a Windows machine for testing, so I can only test the owner octal, not the group octal.

Dax
10-10-2007 01:03:20

Got a bit of a dilemma... We're running SuPHP on our server, which runs any php script as the owner. Here in lies the problem. Everything works fine, pictures are created and posted.. but since they're posted as the owner of the php script (kyrin, in this case), the webserver won't read the pictures since the webserver runs as nobody, and the pictures are being chmodded 600. Is there anyway to change whatever script is posting the pictures to chmod the files to 655 or something similar?

Thanks in advance.

Oh, and this is a brand new install of the latest version.

Board footer

Yep, still running PunBB
© Copyright 2002–2008 PunBB