This is an automated email from the ASF dual-hosted git repository. brandonwilliams pushed a commit to branch trunk in repository https://gitbox.apache.org/repos/asf/cassandra.git
commit 39d372539f224eb1eaa3b6209610142abe74712c Author: Brandon Williams <[email protected]> AuthorDate: Wed Mar 30 14:35:18 2022 -0500 set perms on data/logs to 750 in debian packaging Patch by brandonwilliams; reviewed by bereng for CASSANDRA-17470 --- debian/cassandra.postinst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/debian/cassandra.postinst b/debian/cassandra.postinst index 752ff1f6bb..95882e3ae2 100644 --- a/debian/cassandra.postinst +++ b/debian/cassandra.postinst @@ -37,6 +37,8 @@ case "$1" in if [ -z "$2" ]; then chown -R cassandra: /var/lib/cassandra chown -R cassandra: /var/log/cassandra + chmod 750 /var/lib/cassandra/ + chmod 750 /var/log/cassandra/ fi if ! sysctl -p /etc/sysctl.d/cassandra.conf; then echo >&2 --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
