[pmwiki-users] Cannot acquire lockfile

Américo Albuquerque aalbuquerque at lanowar.sytes.net
Fri Sep 8 17:53:05 CDT 2006


On Fri, 8 Sep 2006 17:10:27 -0500, Patrick R. Michaud wrote:
 > I know it stinks for things to be this way, but I'm not
 > responsible for the way that Apache works.
Err... Actually that's how Linux works, it has nothing to do with 
Apache. If you set it in windows XP it will work just fine if you create 
the directories yourself (because by default everyone can 
read/write/delete every file) but if you set it in win2000 or windows 
2003 server then you'll have the same problem

It's a server issue. The working user can only read/write/delete the 
files it has permissions to. All others they get access denied. Apache 
runs with a different user account than the normal user, so it doesn't 
have permissions to read/write/delete your files, unless you give it 
those permissions (by setting mod 777 on Linux). It would also work if 
you change the owner of the files and folders to the user Apache (and 
that what normally it is done).

Letting PmWiki create the directories is the same as login in with the 
Apache user account and create them by hand.

 >
 > On the good side, if you let PmWiki create directories, it will
 > give the directories and files it creates the minimum permissions
 > needed to preserve access for itself and the account owner. Thus,
 > if the wiki.d/ and uploads/ directories can be setgid (to the same
 > group as the owner), then the files will end up without world write
 > access.
 >
 > Pm
 >






More information about the pmwiki-users mailing list