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

vatamane pushed a commit to branch monstermunch
in repository https://gitbox.apache.org/repos/asf/couchdb-pkg.git

commit 9be16cc0f5991054767de430cf9de5850e6bc4af
Author: Robert Newson <[email protected]>
AuthorDate: Thu Feb 24 15:12:05 2022 +0000

    tighten file permissions for vm.args
---
 debian/couchdb.postinst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/couchdb.postinst b/debian/couchdb.postinst
index efc4659..84d7455 100644
--- a/debian/couchdb.postinst
+++ b/debian/couchdb.postinst
@@ -230,7 +230,7 @@ case $1 in
     done
       
     # These should also not be world readable or writable:
-    find /opt/couchdb/etc -name *.ini -exec chmod 0640 {} \;
+    find /opt/couchdb/etc -name '*.ini' -o -name vm.args -exec chmod 0640 {} \;
     chmod 0750 /var/log/couchdb
     chmod 0750 /var/lib/couchdb
 

Reply via email to