Answer the question
In order to leave comments, you need to log in
How to create templates without root in Wordpress on Linux?
I set up a local server on Kubuntu, it is stored in the /var/www/ folder, and there is the /html folder with Wordpress files and directories, I get to the themes folder, create my own, but every time I write sudo and run an inferior sublime, I don’t want that do. so that the files can be easily edited?
OS: Kubuntu 18.04 bionic
Kernel: x86_64 Linux 4.15.0-45-generic
Answer the question
In order to leave comments, you need to log in
1) Assign files to the user you are working
as 2) Add the user you are working as to the group that owns the files and
set permissions on the folder/files allowing them to be edited by the user you are working as
usermod -aG www-data <username>
chmod -R 0775 /var/www/html
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question