Xampp was installed in /opt/lampp directory. When I try to create any file in htdocs folder by VS Code or directly in the folder, I have no permission for that. I also cannot change the localhost directory
for another folder out of this directory, cause the file httpd cannot be modified too. So, I cannot use xampp properly to create any local server or something, because I have no permission to modify anything in the directory.
I also tried to modify the directory xampp is installed, but it don't allow you to change the local of installation, the default local is /opt/lampp.
How can I correct this?