M
M
mts20502016-09-10 16:15:21
System administration
mts2050, 2016-09-10 16:15:21

How to fix Centos 7 file access issue?

Costs centos 7+php 7+ apache 2.0 + mariadb.
When uploading files via FTP, there are problems with accessing files. Only setting the rights to 777 helps. How can I fix this. Rights to folders and files 777 is not correct from a security point of view.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2016-09-10
@mts2050

Run FTP as the same user that the webserver is running as. You can also configure FTP itself to create files with the desired uid and gid.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question