[Pkg-owncloud-commits] [owncloud-doc] 46/71: Add explicit file permissions

David Prévot taffit at moszumanska.debian.org
Tue Dec 2 22:02:54 UTC 2014


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

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

commit 323baa437559aa7852b411c99b2169c42540136a
Author: Lukas Reschke <lukas at owncloud.com>
Date:   Fri Nov 21 10:04:33 2014 +0100

    Add explicit file permissions
---
 admin_manual/installation/source_installation.rst | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/admin_manual/installation/source_installation.rst b/admin_manual/installation/source_installation.rst
index 92340af..d71bfa6 100644
--- a/admin_manual/installation/source_installation.rst
+++ b/admin_manual/installation/source_installation.rst
@@ -184,10 +184,15 @@ For hardened security we  highly recommend setting the permissions on your ownCl
 as possible. These commands should be executed immediately after the initial installation::
   
     chown -R root:root /path/to/owncloud/
+    chmod -R 755 /path/to/owncloud/
     chown <http-user>:<http-user> /path/to/owncloud/config/config.php
+    chmod 750 /path/to/owncloud/config/config.php
     chown -R <http-user>:<http-user> /path/to/owncloud/data/
+    chmod -R 750 /path/to/owncoud/data
     chown root:root /path/to/owncloud/data/.htaccess
+    chmod 755 /path/to/owncloud/data/.htaccess
     chown <http-user>:<http-user> /path/to/owncloud/apps/
+    chmod 750 /path/to/owncloud/apps/
     
 These strict permissions will prevent the Updater app from working. If you use the Updater app, it needs your whole
 ownCloud directory to be owned by the http-user, like these examples:

-- 
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