[Pkg-owncloud-commits] [owncloud-doc] 22/49: Add a stronger note to run occ with the http user
David Prévot
taffit at moszumanska.debian.org
Thu Mar 12 02:06:47 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 511ba69ecc24d9db131d59d57f7607a31235c232
Author: Carla Schroder <carla at owncloud.com>
Date: Mon Feb 16 11:02:09 2015 -0800
Add a stronger note to run occ with the http user
---
admin_manual/configuration/occ_command.rst | 17 +++++++++++------
1 file changed, 11 insertions(+), 6 deletions(-)
diff --git a/admin_manual/configuration/occ_command.rst b/admin_manual/configuration/occ_command.rst
index 3b75e0a..a1be996 100644
--- a/admin_manual/configuration/occ_command.rst
+++ b/admin_manual/configuration/occ_command.rst
@@ -12,17 +12,22 @@ interface. You can perform many common server operations with ``occ``::
* Query and change LDAP settings
``occ`` is in the :file:`owncloud/` directory; for example
-:file:`/var/www/owncloud` on Ubuntu Linux. ``occ`` is a PHP script. The
-preferred way to run it is as your HTTP user. Running it with no options lists
-all commands and options, like this example on Ubuntu::
+:file:`/var/www/owncloud` on Ubuntu Linux. ``occ`` is a PHP script. You must run
+it is as your HTTP user to ensure that the correct permissions are maintained
+on your ownCloud files and directories.
+
+.. note:: The HTTP user is different on the various Linux distributions. See
+ the **Setting Strong Directory Permissions** section of
+ :doc:`../installation/installation_wizard` to learn how to find your HTTP
+ user
+
+Running it with no options lists all commands and options, like this example on
+Ubuntu::
$ sudo -u www-data php occ
This is the same as ``sudo -u www-data php occ list``.
-.. note:: See the **Setting Strong Directory Permissions** section of
- :doc:`../installation/installation_wizard` to learn how to find your HTTP
- user
Run it with the ``-h`` option for syntax help::
--
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