Skip to content

Commit

Permalink
Merge pull request #436 from nperron/bug_5220/dev/use_more_precsise_m…
Browse files Browse the repository at this point in the history
…ode_under_configuration_repository

Fixes #5220 - Add more precise modes under configuration-repository
  • Loading branch information
jooooooon committed Jul 4, 2014
2 parents df5e229 + e515339 commit b33f4de
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
5 changes: 4 additions & 1 deletion rudder-webapp/SPECS/rudder-webapp.spec
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,10 @@ fi

# Adjust permissions on /var/rudder/configuration-repository
chgrp -R %{config_repository_group} /var/rudder/configuration-repository
chmod -R 2770 /var/rudder/configuration-repository
## Add execution permission for ncf-api only on directories and files with user execution permission
chmod -R u+rwX,g+rwsX %{ruddervardir}/configuration-repository/{ncf,techniques}
## Add execution permission for ncf-apo on pre/post-hooks
chmod -R 2770 %{ruddervardir}/configuration-repository/ncf/ncf-hooks.d/

# Create a symlink to the Jetty context if necessary
if [ -d "%{rudderdir}/jetty7/contexts" ]; then
Expand Down
6 changes: 5 additions & 1 deletion rudder-webapp/debian/postinst
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,11 @@ case "$1" in

# Adjust permissions on /var/rudder/configuration-repository
chgrp -R rudder /var/rudder/configuration-repository
chmod -R 2770 /var/rudder/configuration-repository
## Add execution permission for ncf-api only on directories and files with user execution permission
chmod -R u+rwX,g+rwsX /var/rudder/configuration-repository/{ncf,techniques}
## Add execution permission for ncf-apo on pre/post-hooks
chmod -R 2770 /var/rudder/configuration-repository/ncf/ncf-hooks.d/


# Only for Ubuntu:
## Change rsyslog port number since Ubuntu 12.04 doesn't allow to use standard
Expand Down

0 comments on commit b33f4de

Please sign in to comment.