Bug 438999 - moin save user data in /usr and not in /var
Summary: moin save user data in /usr and not in /var
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: moin
Version: el5
Hardware: All
OS: Linux
low
high
Target Milestone: ---
Assignee: Matthias Saou
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-03-26 14:15 UTC by Luca Foppiano
Modified: 2008-03-27 00:35 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2008-03-26 15:21:54 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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


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