How to avoid using sudo when working in /var/www?
My webserver folder, called www, cannot be accessed without using root.
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.Sign up to join this community
If you own the computer, you probably can become a root user. You can either use sudo to make yourself root for one command or sudo su to make yourself root until you exit (which you probably don't want to do). The link that siron posted shows some ways that will make it so that you don't have to keep becoming root.