Bug 438999

Summary: moin save user data in /usr and not in /var
Product: [Fedora] Fedora EPEL Reporter: Luca Foppiano <luca>
Component: moinAssignee: Matthias Saou <matthias>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: low    
Version: el5   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-03-26 15:21:54 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Luca Foppiano 2008-03-26 14:15:22 UTC
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

Luca

Comment 1 Matthias Saou 2008-03-26 15:21:54 UTC
(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 16:46:49 UTC
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?


regards,
Luca

Comment 3 Matthias Saou 2008-03-26 18:49:02 UTC
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-27 00:35:30 UTC
uhm, ok, you convince me :)
Thanks for explaination and sorry for my wrong segnalation 

bye
Luca