I'm trying to setup continuous deployment pipeline to one of the websites hosted in a Linux machine which has Plesk. A service account(service_user) is already setup there in the server(not a Plesk account though).
My issue is the service account that I mentioned above cannot access the hosting directory(/var/www/vhosts/example.com/). because it is owned by some other user & group(sysuser_9:psaserv)
The permissions details :
Home Directory :
httpdocs :
I tried to add the service account to the following groups : psaserv & psacln . but still access denied.
All I need to do is copy the zip file to the hosting directory & extract it. I already messed up the directory permission of the hosting after executing chown for the service account :P . Just recreated the hosting. How do I give access to the service account to read/write to a particular hosting directory?
/var/www/vhosts/example.com/
directory and all parent directories? Does it allow grouprwx
? Do the parent directories allow grouprwx
?