Answer the question
In order to leave comments, you need to log in
How to set permissions correctly?
1. Made a symlink from /var/www to /home/myadmin/www
2. myadmin edits/deletes files in the /www folder
3. Host to /www and all subdirectories/files - myadmin:www-data
How to set permissions?
Now it costs 640, but there are many files that need to be changed through the web face (for example, php will have to be written to a text editor).
Solutions (which one to choose)?
1. Manually put on each file that can be changed 660 rights? (and if there are many such files)
1.1 What rights should be set on the download directory?
2. Put on the whole / www 660 right?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question