Skip to content

Commit

Permalink
Make all subdirectories under /etc/<appname> executable by default
Browse files Browse the repository at this point in the history
In Riak, when the /etc/riak/snmp directory was created it did
not have the +x flag set so riak could not start.  The +X flag
will inherit the executable status of its parent files so only
directories will be set.
  • Loading branch information
jaredmorrow committed Jul 9, 2013
1 parent ee7c94d commit b3a1119
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions priv/templates/deb/postinst
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ chown -R {{package_install_user}}:{{package_install_group}} /etc/{{package_insta

chmod 0755 /var/run/{{package_install_name}} /etc/{{package_install_name}}
chmod 0644 /etc/{{package_install_name}}/*
chmod -R +X /etc/{{package_insall_name}}
chmod 0755 /usr/lib/{{package_install_name}}/lib/env.sh

case "$1" in
Expand Down

0 comments on commit b3a1119

Please sign in to comment.