Error with permission VestaCP LSWS

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
iT0mT0m
Posts: 2
Joined: Thu Aug 31, 2017 4:05 am

Error with permission VestaCP LSWS

Postby iT0mT0m » Thu Aug 31, 2017 4:14 am

Hi.
I have VestaCP with LSWS WebServer: Apache2 in VestaCP is disabled and LSWS read apache config. Actually all working but I have problem with user permissions. When I try update any plugins or translation in Wordpress I have error: Can't create folder. I found temporary fix for this: change user permission to LSWS user and group. My actually user and group is admin and VestaCP create this user(chown -R admin:admin /home/admin). When I change(chown -R nobody:nogroup /home/admin) I can install/update plugins and translations but I lose access to any folder in ftp(can't view and send any files). When I change back permission ftp working but install/update no. How resolve this problem?

skurudo
VestaCP Team
Posts: 7798
Joined: Fri Dec 26, 2014 2:23 pm
Location: Moscow
Contact:

Re: Error with permission VestaCP LSWS

Postby skurudo » Thu Aug 31, 2017 1:25 pm

You need somehow teach LSWS give right permissions on folder.

Like this for example (WARNING, not tested)
https://www.litespeedtech.com/support/f ... lems.5365/
-> DigitalOcean competition - please, support us
-> fix for phpmyadmin - nice and sweet now


Return to “Web Server”



Who is online

Users browsing this forum: No registered users and 8 guests

cron