P
P
Pavel2021-04-30 23:04:03
linux
Pavel, 2021-04-30 23:04:03

How to give rights to a user to work with laravel on the server?

I installed laravel on a separate server, immediately in /var/www , I want to work as they say in the native environment , I
connected to phpstorm via SFTP, but I can’t do anything, no, I’m right, I’m just starting to comprehend all the intricacies of Linux, at first I thought that I could just add my own user to the www-data group, but alas, this is not enough, then I tried chmod -R 711 /var/www/laravel , but it completely broke everything because the group changed to the username and it stopped working on the web, returned it as it was.

Please push on the righteous path xD
ps about such an outlandish thing, and not docker, homestead, artisan serve, etc., this is a necessary measure, that's all here)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Roman Ogarkov, 2021-05-01
@mrusklon

Familiarize yourself with access rights on UNIX systems.
https://ru.wikipedia.org/wiki/Chmod
I advise you to use the user directory

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question