Answer the question
In order to leave comments, you need to log in
How to get permission to edit a file via FTP?
I am installing the application on a cloud server according to the following guide: https://docs.microsoft.com/ru-ru/aspnet/core/host-...
In the link immediately, it redirects to the point where the problem occurred. I installed nginx, now I need to edit the /etc/nginx/sites-available/default file , but I can't access it via FTP because I don't have access rights to this file. In FileZilla, opposite this file in the User/Group column, it says: root root Whereas, opposite the files to which there is access, it says ubuntu ubuntu.
These files can be modified with the nano editor if you use sudo, but in my opinion this is not quite the right way. I want to note that I just recently started using linux, and perhaps these are very banal things, but nevertheless I could not google them so easily.
Answer the question
In order to leave comments, you need to log in
All system files are edited ONLY over ssh. FTP is only needed to upload/download files.
All settings are also done via ssh. For the convenience of viewing folders and files, put yourself on the server "mc"
but I don't think it's the right way.
I just recently started using linux
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question