[Moin-user] <site>/data file system permissions

Thomas Waldmann tw-public at gmx.de
Sun Mar 2 12:26:38 EST 2008

> What are the best practices / recommendations for file system
> permissions on the <site>/data directory?

Moin uses a umask of 0770 by default, so starting with a data dir with
uid/gid == that of the moin process and rwX for user and group (and no
access for world) is a good idea.

> I understand that MoinMoin
> needs write access via the webserver, but does it need write access to
> everything in /data/ or just some things.

For simplicity, assume everything.

> Additionally, is there any
> problem with having /data/plugin/*/*.py owned by non webserver IDs
> (specifically so users can edit them)?

As long as the moin process can find and read the *.py, it is fine.
For some better performance, you also want python to be able to store
the *.pyc, so creating new files (writing the *.pyc) should be also

More information about the Moin-user mailing list