Bug 438999 - moin save user data in /usr and not in /var
moin save user data in /usr and not in /var
Product: Fedora EPEL
Classification: Fedora
Component: moin (Show other bugs)
All Linux
low Severity high
: ---
: ---
Assigned To: Matthias Saou
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2008-03-26 10:15 EDT by Luca Foppiano
Modified: 2008-03-26 20:35 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-03-26 11:21:54 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Luca Foppiano 2008-03-26 10:15:22 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

Comment 1 Matthias Saou 2008-03-26 11:21:54 EDT
(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.
Comment 2 Luca Foppiano 2008-03-26 12:46:49 EDT
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?

Comment 3 Matthias Saou 2008-03-26 14:49:02 EDT
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
per server.
Comment 4 Luca Foppiano 2008-03-26 20:35:30 EDT
uhm, ok, you convince me :)
Thanks for explaination and sorry for my wrong segnalation 


Note You need to log in before you can comment on or make changes to this bug.