View Full Version : [SOLVED] Web Server Headache!
March 31st, 2010, 12:00 AM
Help! The oddity of permissions with regards to enabling a simple web server is crazy in the GUI of ubuntu. Now that I have successfully created and save my VirtualHost configuration files in the "sites-available" directory I am getting "permission denied" trying to run "sudo a2ensite www.website1.com" Help!
March 31st, 2010, 06:43 PM
I believe that sort of thing happens when a command creates a sub-shell in which the root permissions don't propogate - not sure about this, though.
Whenever I run into that kind of problem, I do:
<command you want to run - no "sudo needed>
...i.e. enter a bash shell as root - then you can do whatever you want as root, then exit the root shell.
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.