FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » Problems locking/unlocking files
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Problems locking/unlocking files [message #19213] Fri, 02 July 2004 08:34 Go to previous message
djnz is currently offline  djnz   United Kingdom
Messages: 14
Registered: July 2004
Karma:
Junior Member
My new installation of FUDforum was working fine until I locked and unlocked the files, then it broke.

Unlocking files seems to set permissions to 777, but my (shared) host has php configured to prevent inclusion of files with world write (presumably to prevent running scripts which may have been changed by a guest, although how a guest would get access to a file to change it I am not sure). This may be a common situation in cPanel/WHM environments with PHP as a cgi.

When I reset everything to 755 it worked fine.

I an understand why you might want to 777 the files, because in a with PHP as an Apache module they will normally be created with user and group nobody because of the way your installation routine works. However with php as a cgi set up correctly it is not necessary because the files are owned by your user.

Could you have a configuration option to toggle unlocking between 777 and 755? Come to think of it, this is not necessary, you could just optionally disable unlocking/locking so it is not done by mistake.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Blank screen when posting to newsgroups
Next Topic: attachments on secure connection & IE
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Nov 24 02:39:34 GMT 2024

Total time taken to generate the page: 0.04087 seconds