[DRE-commits] [diaspora-installer] 05/07: change a-r permission to go-r
Praveen Arimbrathodiyil
praveen at moszumanska.debian.org
Fri Jan 13 16:13:45 UTC 2017
This is an automated email from the git hooks/post-receive script.
praveen pushed a commit to branch master
in repository diaspora-installer.
commit e34368dd62d9dacef823a740656eccbf5e63e63b
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date: Fri Jan 13 20:29:20 2017 +0530
change a-r permission to go-r
---
debian/diaspora-common.postinst | 6 +++---
grantpriv.sh | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/debian/diaspora-common.postinst b/debian/diaspora-common.postinst
index 95b5fa6..077ede6 100755
--- a/debian/diaspora-common.postinst
+++ b/debian/diaspora-common.postinst
@@ -106,7 +106,7 @@ case "$1" in
selectedservices=$RET
echo $selectedservices
if [ "$RET" != "" ]; then
- chmod a-r ${diaspora_conf_private}
+ chmod go-r ${diaspora_conf_private}
#Check if Facebook is selected
servicename="Facebook"
if [ "${selectedservices#*$servicename}" != "$RET" ]; then
@@ -162,10 +162,10 @@ case "$1" in
echo "Registering ${diaspora_conf} via ucf"
ucf --debconf-ok --three-way ${diaspora_conf_private} ${diaspora_conf}
ucfr diaspora-common ${diaspora_conf}
- chmod a-r ${diaspora_conf}
+ chmod go-r ${diaspora_conf}
ucf --debconf-ok --three-way ${diaspora_database_yml_private} ${diaspora_database_yml}
ucfr diaspora-common ${diaspora_database_yml}
- chmod a-r ${diaspora_database_yml}
+ chmod go-r ${diaspora_database_yml}
chown ${diaspora_user}: ${diaspora_database_yml}
mkdir -p ${diaspora_nginx_log}
mkdir -p ${diaspora_log_dir}
diff --git a/grantpriv.sh b/grantpriv.sh
index 983cbc4..a52ba9b 100755
--- a/grantpriv.sh
+++ b/grantpriv.sh
@@ -10,7 +10,7 @@ test -f /etc/dbconfig-common/diaspora-common.conf && . /etc/dbconfig-common/dias
test -f ${diaspora_database_yml_private} ||\
cp ${diaspora_database_yml_example} ${diaspora_database_yml_private}
-chmod a-r ${diaspora_database_yml_private}
+chmod go-r ${diaspora_database_yml_private}
if [ "$dbc_dbtype" = "mysql" ]; then
# Switch to mysql adapter, ugly hack, see #818863
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/diaspora-installer.git
More information about the Pkg-ruby-extras-commits
mailing list