A
A
Azamat Baimurzin2016-01-10 17:19:17
ubuntu
Azamat Baimurzin, 2016-01-10 17:19:17

Ubuntu server permissions problem between root and my user.?

I have a question. created a server on amazon on ubuntu. all folders and files were created by root. now when i want to work with laravel or database or web server. I have a problem with the rights, I have to give the rights 777 to do my job, then the rights to do it by default.
How to make sure that the user through which I log on to the server has the right to edit everything that root created without changing the rights to files and folders. all this is not convenient.
Or what are the options.
sorry for the text and confusion.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vlad Zhivotnev, 2016-01-10
@inkvizitor68sl

wikipedia/chown
In general, you don't need to create files from root that you don't need to create from root.

P
Puma Thailand, 2016-01-10
@opium

do not
create everything from the desired user or change the owner

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question