0

I'm previewing my site as I work on it using httpd, but I had to move it into the /var/www/html directory.

Now I have to log in as root every time I want to modify a file, and it's difficult to use the GUI file manager (Nautilus on Fedora 16) to do anything.

What are some ways of making it easier to modify files while still begin able to preview them on a local server? Maybe this is more of a question about permissions on Linux...not sure.

2

You should add all the files below /www/html to a user group of which your regular shell account is also a member of and that group has RW access to those files, this way you don't have to login as root to modify files.

  • Great, that's what I was looking for. – Tianxiang Xiong Apr 28 '12 at 6:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.