Commit 065c58f431098c52279d4d11090e2616968f2234

Authored by Jacob Vosmaer
1 parent b90c9ca7
Exists in master

Use `usermod -aG` to add www-data to gitlab-www

The `usermod -G` invocation changes the primary group ID of the user.
With `usermod -aG`, you add a supplementary group membership to the
user, preserving their primary group.
Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
README.md
... ... @@ -350,7 +350,7 @@ To allow an external webserver access to GitLab, you will need to add the webser
350 350 Let's say that webserver user is `www-data`. Adding the user to `gitlab-www` group can be done with:
351 351  
352 352 ```
353   -usermod -G gitlab-www www-data
  353 +usermod -aG gitlab-www www-data
354 354 ```
355 355  
356 356 Run `sudo gitlab-ctl reconfigure` for the change to take effect.
... ...