Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 406605

Summary: www-apps/redmine: Fix directory owners and permissions
Product: Gentoo Linux Reporter: Amadeusz Żołnowski (RETIRED) <aidecoe>
Component: New packagesAssignee: MATSUU Takuto (RETIRED) <matsuu>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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.