I installed a local web-server (apache2, php5, mysql). All the time I want to edit some permissions or to create a folder or to add some lines to hosts I need to login as a root.
Do I need to grant privileges by the root all the time for this folders and files or is there a way to make it at once? Maybe i should reinstall webserver by the user i want to use one?