LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   apache2 folder 'var/www' is not shareable; can not edit the index.html file (https://www.linuxquestions.org/questions/linux-newbie-8/apache2-folder-var-www-is-not-shareable%3B-can-not-edit-the-index-html-file-733720/)

mcanallyd 06-17-2009 05:21 PM

apache2 folder 'var/www' is not shareable; can not edit the index.html file
 
I can not edit the index.html file available for use by the apache2 application. My operating system is UBUNTU and SUDO will not permit me to make folders shareable. Any ideas? Thanks.

Tinkster 06-17-2009 05:55 PM

What do you mean by "shareable"? By which means are you trying to
share it? And what is the rationale behind it?



Cheers
Tink

Tinkster 06-18-2009 05:46 PM

Quote:

mcanallyd via e-Mail
Thanks for getting back with me. I need to edit the index.html file but can not. When I try to edit the file I get a message that says I 'do not have rights'. Is there another setting other than share I need to change? Also, I am somewhat familiar with other distributions of Linux which has 'root'. UBUNTU uses 'sudo' which is somewhat different.
If all else fails you could just "sudo -i" to become root.

You could

sudo vi /path/to/file

You could sudo su - apache before editing


Many options


Cheers,
Tink


P.S.: Please do not take discussions of the board, I will
not be responding to e-Mail.


All times are GMT -5. The time now is 12:37 AM.