Skip to content

Commit 34775dc

Browse files
authored
Merge pull request #14918 from nextcloud/backport/14911/stable34
[stable34] docs(admin): clarify web server user and file ownership requirements
2 parents 6dee9c5 + a031150 commit 34775dc

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
@@ -237,6 +237,16 @@ your HTTP user::
237237

238238
chown -R www-data:www-data /var/www/nextcloud/
239239

240+
.. note:: ``www-data`` is the default web server user on Debian/Ubuntu systems.
241+
On RHEL/CentOS/Fedora use ``apache``. The key requirement is that the web
242+
server process user has **read and write access** to all Nextcloud directories
243+
— ownership is not strictly necessary. In environments where changing ownership
244+
is not possible (shared hosting, Docker bind-mounts, etc.), it is sufficient to
245+
add the web server user to the group that owns the directories and ensure the
246+
directories are group-writable, for example::
247+
248+
usermod -a -G vboxsf www-data
249+
240250
.. note:: Admins of SELinux-enabled distributions may need to write new SELinux
241251
rules to complete their Nextcloud installation; see
242252
:ref:`selinux_tips_label`.

0 commit comments

Comments
 (0)