Your best bet is to try to ls -al the file to show the permissions. The way you're writing up your command makes no sense. sudo -i /etc/apache2/sites-available/000-default.conf-bash: /etc/apache2/sites-available/000-default.conf: Permission denied It would appear you're trying to execute the 000-default.conf file, this file doesn't have permissions to be executable by you or in this case, root(sudo -i su's to root). I don't think it should either. You should be editing the file, not trying to execute it. I would suggest running sudo -i ls -al /etc/apache2/sites-available/000-default-conf or sudo -i vi /etc/apache2/sites-available/000-default-conf to edit it. I used vi, but you can switch that out with your favorite editor. Thank you, Greg Borbonus *Nix Server administrator 832-699-0461 Skype: greg.borbonus http://www.linkedin.com/in/gregborbonus/ On 6/18/2018 2:58 PM, Macksymil
Marketplace wrote:
|
begin:vcard fn:Greg Borbonus n:Borbonus;Greg org:Able Admins;IT adr:;;3610 parkbank ct,;Houston;Tx;77068;US email;internet:gregborbonus@xxxxxxxxx title:Sr. System Administrator tel;work:(832) 699- 0461 tel;cell:(832) 699- 0461 x-mozilla-html:TRUE url:http://www.linkedin.com/in/gregborbonus/ version:2.1 end:vcard
--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx