Skip to content

Commit fb11d56

Browse files
committed
Force correct permissions on Debian files
Somehow our build machine is set up subtly differently from the VM we used to test the recent permissions fixes, and it ended up creating a package with some files set to 600 and 700. This fix should prevent such issues from happening, regardless of what permissions files happen to be created with at build time.
1 parent c630bcb commit fb11d56

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

priv/templates/deb/postinst

+2
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@ chmod 0755 /var/run/{{package_install_name}} /etc/{{package_install_name}}
3030
chmod 0644 /etc/{{package_install_name}}/*
3131
chmod -R +X /etc/{{package_install_name}}
3232
chmod 0755 /usr/lib/{{package_install_name}}/lib/env.sh
33+
chmod 0755 /usr/lib/{{package_install_name}}/lib/app_epath.sh
3334
chmod 0755 /usr/lib/{{package_install_name}}/erts-*/bin/nodetool
35+
chmod -R go+r /usr/lib/{{package_install_name}}/lib/
3436

3537
case "$1" in
3638
configure)

0 commit comments

Comments
 (0)