Skip to content
This repository was archived by the owner on Aug 13, 2026. It is now read-only.

Commit a3cae84

Browse files
authored
Merge pull request #208 from basho/dr-fix-solaris-permissions
Fix permissions before building package on Solaris
2 parents a3250af + e07cb2d commit a3cae84

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

‎priv/templates/solaris/Makefile‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,13 @@ buildrel:
2727
@# Ye Olde Bourne Shell on Solaris means we have to do it old school
2828
echo "Using `which erl` to build"; \
2929
OVERLAY_VARS="overlay_vars=../solaris/vars.config" $(MAKE) rel
30+
chmod -R go+rX rel/{{package_install_name}}
31+
chmod 0755 rel/{{package_install_name}}/etc
32+
chmod -R a+rX rel/{{package_install_name}}/etc
33+
chmod 0755 rel/{{package_install_name}}/lib/env.sh
34+
chmod 0755 rel/{{package_install_name}}/lib/app_epath.sh
35+
chmod 0755 rel/{{package_install_name}}/erts-*/bin/nodetool
36+
chmod -R go+rX rel/{{package_install_name}}/lib/
3037
chmod 0755 rel/{{package_install_name}}/bin/* \
3138
rel/{{package_install_name}}/erts-*/bin/*
3239
if [ "{{bin_or_sbin}}" != "bin" ]; then \

0 commit comments

Comments
 (0)