You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by br...@apache.org on 2022/05/25 11:21:34 UTC
[cassandra] 02/03: set perms on data/logs to 750 in debian packaging
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 <br...@apache.org>
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: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org