[Pkg-owncloud-commits] [owncloud-doc] 62/95: fixing owncloud/code#6765

David Prévot taffit at moszumanska.debian.org
Fri Apr 18 21:41:43 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 dbb73d9060ef5bbb2d75f466100033c9d9b6e00d
Author: Martin Mazur <mail at martin-mazur.net>
Date:   Sun Mar 16 12:38:05 2014 +0100

    fixing owncloud/code#6765
    
    when ownCloud is extracted as user root, world writable files and
    folder need to be fixed
---
 admin_manual/installation/installation_source.rst | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/admin_manual/installation/installation_source.rst b/admin_manual/installation/installation_source.rst
index 0982fee..725377e 100644
--- a/admin_manual/installation/installation_source.rst
+++ b/admin_manual/installation/installation_source.rst
@@ -194,6 +194,14 @@ that user.
   use ``www-data`` user
 * On ArchLinux, use ``http`` user.
 * On Fedora, use ``apache`` user.
+* When you had extracted ownCloud as user ``root``, you should adjust file and directory
+  permission to avoid world writeable files and folder::
+
+	find /path/to/your/webservers/document-root/owncloud -type d -exec chmod 750 {} \;
+	find /path/to/your/webservers/document-root/owncloud -type f -exec chmod 640 {} \;
+
+  Running this in combination with the above ``chown`` command will give a secure
+  set-up.
 
 Web Server Configuration
 ~~~~~~~~~~~~~~~~~~~~~~~~

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