Red Hat Bugzilla – Bug 438999
moin save user data in /usr and not in /var
Last modified: 2008-03-26 20:35:30 EDT
Moin moin save pages, log and some user stuff in /usr/share/moin/data
I guess this files should put in a subdirectory of /var (eg. /var/lib/moin) with
soft link in /usr/share/moin/data
(In reply to comment #0)
> Moin moin save pages, log and some user stuff in /usr/share/moin/data
No it doesn't. Unless :
- You've changed ownerships so that the web server can write there.
- You're running your web server as root.
Both of these are very bad ideas. What you are expected to do is follow the
steps of the README file included in the package, which explains how to copy
some directories where the web server will be able to write. The idea also being
to be able to have more than one MoinMoin instance per web server.
uhm, understand, but why do not configure RPM to install data files in /var and,
if someone need to run more than one istances, create a copy/configuration by self?
Because this is the default path where moin installs the files :-)
Also, having them in /var would probably tempt users to modify them directly
there... again, this is a very bad idea : They're not marked as %config, so
updating the package would wipe away any changes.
Really, you _want_ to copy that "data" directory from your current moin version
to a directory specific to your instance, even if you have only a single moin
uhm, ok, you convince me :)
Thanks for explaination and sorry for my wrong segnalation