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:32 UTC

[cassandra] branch trunk updated (ed3901823a -> e9edf16c7f)

This is an automated email from the ASF dual-hosted git repository.

brandonwilliams pushed a change to branch trunk
in repository https://gitbox.apache.org/repos/asf/cassandra.git


    from ed3901823a Adding support for TLS client authentication for internode communication
     new 80d94245be set perms on data/logs to 750 in redhat packaging
     new 39d372539f set perms on data/logs to 750 in debian packaging
     new e9edf16c7f Update changes for 17470

The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 CHANGES.txt               | 1 +
 debian/cassandra.postinst | 2 ++
 redhat/cassandra.spec     | 6 +++---
 3 files changed, 6 insertions(+), 3 deletions(-)


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org


[cassandra] 03/03: Update changes for 17470

Posted by br...@apache.org.
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 e9edf16c7f49cf81a26339470465d46964acb869
Author: Brandon Williams <br...@apache.org>
AuthorDate: Wed May 25 06:21:15 2022 -0500

    Update changes for 17470
---
 CHANGES.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/CHANGES.txt b/CHANGES.txt
index 0f64ce2612..c38906747d 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -1,4 +1,5 @@
 4.2
+ * Change default directory permission to 750 in packaging (CASSANDRA-17470)
  * Adding support for TLS client authentication for internode communication (CASSANDRA-17513)
  * Add new CQL function maxWritetime (CASSANDRA-17425)
  * Add guardrail for ALTER TABLE ADD / DROP / REMOVE column operations (CASSANDRA-17495)


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org


[cassandra] 01/03: set perms on data/logs to 750 in redhat packaging

Posted by br...@apache.org.
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 80d94245be9806f1e8ae0ab3c6d4d4d6898383f8
Author: Brandon Williams <br...@apache.org>
AuthorDate: Thu Mar 31 09:33:59 2022 -0500

    set perms on data/logs to 750 in redhat packaging
    
    Patch by brandonwilliams; reivewed by bereng for CASSANDRA-17470
---
 redhat/cassandra.spec | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/redhat/cassandra.spec b/redhat/cassandra.spec
index a3abaa6ece..8c04fdb4cf 100644
--- a/redhat/cassandra.spec
+++ b/redhat/cassandra.spec
@@ -161,9 +161,9 @@ exit 0
 %{_sysconfdir}/security/limits.d/%{username}.conf
 /usr/share/%{username}*
 %config(noreplace) /%{_sysconfdir}/%{username}
-%attr(755,%{username},%{username}) %config(noreplace) /var/lib/%{username}/*
-%attr(755,%{username},%{username}) /var/log/%{username}*
-%attr(755,%{username},%{username}) /var/run/%{username}*
+%attr(750,%{username},%{username}) %config(noreplace) /var/lib/%{username}/*
+%attr(750,%{username},%{username}) /var/log/%{username}*
+%attr(750,%{username},%{username}) /var/run/%{username}*
 %{python_sitelib}/cqlshlib/
 %{python_sitelib}/cassandra_pylib*.egg-info
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org


[cassandra] 02/03: set perms on data/logs to 750 in debian packaging

Posted by br...@apache.org.
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