Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 401087 - www-apps/redmine-1.3.0 wrong permissions when using sqlite driver
Summary: www-apps/redmine-1.3.0 wrong permissions when using sqlite driver
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: MATSUU Takuto (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-27 21:49 UTC by August Hörandl
Modified: 2012-02-26 14:00 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description August Hörandl 2012-01-27 21:49:02 UTC
after installing i change the config to use sqlite
edit config/database.yml:
production:
  adapter: sqlite3
  database: db/production.sqlite3

Accessing http://localhost:3000 gives an error message about read-only database.

Changing the permissions
   chown -Rv redmine /var/lib/redmine/db/
solved the problem

Reproducible: Always

Steps to Reproduce:
1. install redmine
2. copy config and edit as above (use sqlite3)
3. emerge --config "=www-apps/redmine-1.3.0"
4. start redmine
5. access redmine and get an error message
Actual Results:  
error message: read only database

Expected Results:  
redmine up and running

Changing the permissions
   chown -Rv redmine /var/lib/redmine/db/
solved the problem.
Comment 1 MATSUU Takuto (RETIRED) gentoo-dev 2012-02-26 14:00:32 UTC
I think that db/ should not be changed the ownership recursively. I add einfo to pkg_config.
thanks.