[pmwiki-users] chmod o+w members.htpasswd

Patrick R. Michaud pmichaud at pobox.com
Thu Aug 10 15:48:51 CDT 2006

On Thu, Aug 10, 2006 at 01:42:33PM -0500, JB wrote:
> I found that Passwd-formatted files (.htpasswd) with AuthUser did 
> not work with my normal file permissions.  I had to do a  
> "chmod o+w members.htpasswd"
> Is this safe or is there a safer better way to do this?
> Do I have to change owenership of the file somehow so
> the AuthUser can modify it?

The file has to be writable by the webserver process.
In general this means that the file has to either be owned
by the webserver account (and have at least -rw-------
permissions), or owned by someone else and have at
least -------rw- permissions.

There's not anything PmWiki can do it about it -- it's
just the way that Apache is designed to work (and I've
written many posts in the past lamenting Apache's
broken design in this respect).


More information about the pmwiki-users mailing list