[DRE-commits] [diaspora-installer] 01/01: fix fix permissions, do only ga-w
Praveen Arimbrathodiyil
praveen at moszumanska.debian.org
Fri Dec 30 15:15:18 UTC 2016
This is an automated email from the git hooks/post-receive script.
praveen pushed a commit to branch master
in repository diaspora-installer.
commit cc6f557e6a5a99a79347deaeeea98c5a2108c1dd
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date: Fri Dec 30 20:16:21 2016 +0530
fix fix permissions, do only ga-w
---
debian/postinst | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/debian/postinst b/debian/postinst
index 166e20e..f5af06a 100755
--- a/debian/postinst
+++ b/debian/postinst
@@ -48,8 +48,8 @@ https://github.com/hyperic/sigar/issues/60 ..."
echo "Installing gems with rubygems ..."
su diaspora -s /bin/sh -c "bundle install --path vendor/bundle --with ${BUNDLE_WITH} --without development test"
- su diaspora -s /bin/sh -c "find vendor/bundle -type d -exec chmod 0755 {} \;"
- su diaspora -s /bin/sh -c "find vendor/bundle -type f -exec chmod 0644 {} \;"
+ # Fix permissions (see #847286)
+ su diaspora -s /bin/sh -c "find vendor/bundle -type f -exec chmod ga-w {} \;"
# Initialize database
/usr/lib/diaspora-common/scripts/initdb.sh
--
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