[Pkg-owncloud-commits] [owncloud-doc] 12/23: Backport #1776 to stable7

David Prévot taffit at moszumanska.debian.org
Thu Oct 22 15:53:16 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository owncloud-doc.

commit 64679fce679e9c660b556ba47b74e4c455683009
Author: RealRancor <Fisch.666 at gmx.de>
Date:   Tue Oct 13 18:09:51 2015 +0200

    Backport #1776 to stable7
---
 admin_manual/installation/installation_wizard.rst | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/admin_manual/installation/installation_wizard.rst b/admin_manual/installation/installation_wizard.rst
index 41a6187..a8584f7 100644
--- a/admin_manual/installation/installation_wizard.rst
+++ b/admin_manual/installation/installation_wizard.rst
@@ -132,18 +132,19 @@ The easy way to set the correct permissions is to copy and run this script. Repl
  ocpath='/var/www/owncloud'
  htuser='www-data'
  htgroup='www-data'
+ rootuser='root' # On QNAP this is admin
 
  find ${ocpath}/ -type f -print0 | xargs -0 chmod 0640
  find ${ocpath}/ -type d -print0 | xargs -0 chmod 0750
 
- chown -R root:${htuser} ${ocpath}/
+ chown -R ${rootuser}:${htgroup} ${ocpath}/
  chown -R ${htuser}:${htgroup} ${ocpath}/apps/
  chown -R ${htuser}:${htgroup} ${ocpath}/config/
  chown -R ${htuser}:${htgroup} ${ocpath}/data/
  chown -R ${htuser}:${htgroup} ${ocpath}/themes/
 
- chown root:${htuser} ${ocpath}/.htaccess
- chown root:${htuser} ${ocpath}/data/.htaccess
+ chown ${rootuser}:${htgroup} ${ocpath}/.htaccess
+ chown ${rootuser}:${htgroup} ${ocpath}/data/.htaccess
 
  chmod 0644 ${ocpath}/.htaccess
  chmod 0644 ${ocpath}/data/.htaccess

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-doc.git



More information about the Pkg-owncloud-commits mailing list