I can't figure out how to merge nxginx and sftp user for a folder.
So for example I have folder:
sftp user is:
john belongs to group:
- scenario with chown nginx:nginx
from web interface I can upload files to
uploads folder. But the issue that when I login through
sftp it doesn't have rights to upload any file to that
- scenario with chown john:sftpuser
from web interface I can't upload files to
uploads folder. But when I login through
sftp I am able to upload files to
Any ideas and what the proper way to configure this?
Thank you in advance!