Bug #1939

File permissions/ownership for sunstone with passenger/apache

Added by Matthew Richardson about 8 years ago. Updated about 8 years ago.

Status:ClosedStart date:04/22/2013
Priority:NormalDue date:
Assignee:Javi Fontan% Done:

0%

Category:Documentation
Target version:Release 4.0
Resolution:fixed Pull request:
Affected Versions:OpenNebula 4.0

Description

I've been reading the docs here: http://opennebula.org/documentation:rel4.0:suns_advance and have a few extra changes that I had to make to get sunstone up and running under passenger/apache:

  1. Group ownership for config/auth files to allow read access (as per docs)
    chgrp www-data /etc/one/sunstone-server.conf
    chgrp www-data /etc/one/sunstone-plugins.yaml
    chgrp www-data /var/lib/one/.one/sunstone_auth
  1. Execute permission to the parent directories for www-data to 'get to' sunstone_auth
    chmod a+x /var/lib/one
    chmod a+x /var/lib/one/.one
  1. Write permissions for logging:
    chgrp www-data /var/log/one/sunstone*
    chmod g+w /var/log/one/sunstone*

History

#1 Updated by Javi Fontan about 8 years ago

  • Status changed from New to Assigned
  • Assignee set to Javi Fontan
  • Target version set to Release 4.0

#2 Updated by Javi Fontan about 8 years ago

  • Status changed from Assigned to Closed
  • Resolution set to fixed

Documentation updated, thanks

Also available in: Atom PDF