I want to
[list]
[] securely
[] grant remote rw access
[*] to some web server data directories
[/list]
It looks like there is need to change group name from www_data to
something else to accomplish that.
Is that ok for correct run of nginx?
Or would you know of any secure way how to grant rw access to some users
to only some web server data directories on Ubuntu? I do not want to
give the use shell access.
Suggestion: create user accounts for each one you want to give access
to.
Symlink the directories you want to give them access to under /var/www
to one sub-directory of their home directory.
Depending on the application that the users are running some
directories would have to be owned by www-data. For instance, in
Drupal, the files directory has to be 775 www-data.www-data or
something along these lines.
Of course if your use case doesn’t consider files/directories created
by the application that each user is running then everything is much
simpler.
Ex: users john and joan have can upload files to their personal sites.