Answer the question
In order to leave comments, you need to log in
How to get a debian user for a website?
The question is impossibly simple.
It is necessary to have an FTP user who will pour sites into his daddy and they will not "fordybait". That is, the file is uploaded by a certain vasya, and it is opened and executed by nginx, which runs from www-data. Yes, I googled and searched. I copied the commands from the stack and it seems to work until php starts opening or writing files, which is also from www-data. As a result, I did not find the ideal "magic wand" or, perhaps, chose the wrong approach from the very beginning.
In order to clarify right away - I have a bare vds server . Perhaps it will be useful to someone who googles.
Answer the question
In order to leave comments, you need to log in
уникальный индекс на url и INSERT INGORE(не будет выкидывать эксепшнов и ошибок при попытке вставить дубликат), просто и быстро.
зачем вам там автоинкрементный айди нужен?
Run php and nginx workers on behalf of the same ftp user.
https://unix.stackexchange.com/questions/30190/how...
https://stackoverflow.com/questions/18004018/chang...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question