[Pmwiki-users] Files in wiki.d/

Patrick R. Michaud pmichaud
Fri Feb 13 10:08:46 CST 2004


On Fri, Feb 13, 2004 at 11:59:46AM +0100, Christian Ridderstr?m wrote:
> FYI: In a vanilla installation of beta10, I found the following files in 
> wiki.d/
> [chr at aussie beta]$ ls -la wiki.d/
> -rw-rw-r--    1 apache   wiki            0 Feb 13 11:55 .flock
> -rw-rw-r--    1 apache   wiki           31 Feb 13 11:54 .htaccess

.htaccess keeps browsers from viewing password-protected pages in
wiki.d directly.

> (funny about .flock though, I thought that was only created when 
> an instance of pmwiki is about to write to wiki.d/)

It's created but never deleted--there's little point in repeatedly 
creating and deleting the file.  The locking is provided via the 
flock() function and not the existence/nonexistence of the lock file.

Pm



More information about the pmwiki-users mailing list