Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 406605 - www-apps/redmine: Fix directory owners and permissions
Summary: www-apps/redmine: Fix directory owners and permissions
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: MATSUU Takuto (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-02 14:24 UTC by Amadeusz Żołnowski (RETIRED)
Modified: 2012-03-12 16:42 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 Amadeusz Żołnowski (RETIRED) gentoo-dev 2012-03-02 14:24:28 UTC
Files in config directory contain passwords (in database.yml) and therefore this directory shouldn't be readable. It also applies to files directory, where some private to project members files might reside.

This is my proposal for owners and perms:

drwxr-xr-x   root    root      app
dr-x------   redmine redmine   config
drwxr-xr-x   root    root      db
drwxr-xr-x   root    root      extra
drwx------   redmine redmine   files
drwxr-xr-x   root    root      lib
drwxr-xr-x   root    root      public
drwxr-xr-x   root    root      script
drwxr-xr-x   root    root      test
drwx------   redmine redmine   tmp
drwxr-xr-x   root    root      vendor
-rw-r--r--   root    root      .gitignore
-rw-r--r--   root    root      .hgignore
lrwxrwxrwx   root    root      log -> /var/log/redmine/
-rw-r--r--   root    root      Rakefile
-rw-r--r--   root    root      README.rdoc

drwxr-x---   redmine redmine   /var/log/redmine


Btw. Also please remove .*ignore files. Why Rakefile is there? Why README.rdoc is not in /usr/share/doc?

Reproducible: Always
Comment 1 MATSUU Takuto (RETIRED) gentoo-dev 2012-03-12 16:42:01 UTC
fixed in cvs.

Rakefile is required to 'emerge --config redmine'. others are fixed. thanks.