Unable rsync to my_webapp (permissions)

What app is this about, and its version: my_webapp
What YunoHost version are you running: 12.1.39
What type of hardware are you using: Other ARM board

Describe your issue

i’m still upgrading and reconfiguring some webapps, some of which i used to administer using the old ‘admin’ user.

i’m trying to set permissions so that i can rsync my static site to my webapp directory, with rsync using ssh as my new main user (who has admin perms).

i’m unable to set perms on /var/www/my_webapp/ such that i can write any files there.

  • i tried adding my user to group www-data, and giving the group write permissions, but no dice (and not ideal).
  • i tried giving ownership of the whole /my_webapp directory to my user, but rsync still fails.
  • if i manually ssh in to the server as my user, then try to touch a file inside /var/www/my_webapp/ it also fails due to perms.

am i missing something about how permissions are set up with my_webapp apps?

thanks for any pointers!

Share relevant logs or error messages

no logs for my query

is it perhaps ok to give ssh access to the webapp user?

(but that wouldn’t be ideal, i already have ssh keys set up for my main user)

i got it working, i had a symlink that didn’t match the alias directive in nginx.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.