Make example scripts in documentation executable.

Addresses bug #3053 at http://sogo.nu/bugs/view.php?id=3053
pull/206/head
Patrice Levesque 2016-04-11 11:28:01 -04:00
parent 5f46df39cd
commit 1f029c9c70
1 changed files with 6 additions and 0 deletions

View File

@ -21,6 +21,12 @@ case "$1" in
# update timestamp on imgs,css,js to let apache know the files changed
find /usr/lib/GNUstep/SOGo/WebServerResources -exec touch {} \;
# Make example scripts in /usr/share/doc/sogo/ executable
# (they do not really belong there, we are violating Debian
# packaging guidelines, but OTOH moving these files now would
# break lots of setups)
chmod a+x /usr/share/doc/sogo/*.sh
# Enforce owner+mode on configuration
chmod 750 /etc/sogo
chown root:sogo /etc/sogo