Skip to content

Commit 6bf9b84

Browse files
authored
Merge pull request #14919 from nextcloud/backport/14911/stable32
[stable32] docs(admin): clarify web server user and file ownership requirements
2 parents 73897d3 + f468db6 commit 6bf9b84

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

admin_manual/installation/source_installation.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,16 @@ your HTTP user::
218218

219219
chown -R www-data:www-data /var/www/nextcloud/
220220

221+
.. note:: ``www-data`` is the default web server user on Debian/Ubuntu systems.
222+
On RHEL/CentOS/Fedora use ``apache``. The key requirement is that the web
223+
server process user has **read and write access** to all Nextcloud directories
224+
— ownership is not strictly necessary. In environments where changing ownership
225+
is not possible (shared hosting, Docker bind-mounts, etc.), it is sufficient to
226+
add the web server user to the group that owns the directories and ensure the
227+
directories are group-writable, for example::
228+
229+
usermod -a -G vboxsf www-data
230+
221231
.. note:: Admins of SELinux-enabled distributions may need to write new SELinux
222232
rules to complete their Nextcloud installation; see
223233
:ref:`selinux_tips_label`.

0 commit comments

Comments
 (0)