LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-17-2009, 06:21 PM   #1
mcanallyd
Member
 
Registered: Jan 2006
Location: Memphis, TN
Posts: 38

Rep: Reputation: 15
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.
 
Old 06-17-2009, 06:55 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

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



Cheers
Tink
 
Old 06-18-2009, 06:46 PM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Forbidden with VirtualHost folder other than /var/www/html netweblogic Linux - Server 3 08-28-2008 08:46 AM
Directory index forbidden by rule: /var/www/html/ danimaldaisy Linux - Networking 6 02-11-2008 02:32 AM
adding index.html to /var/www/html not working dannyboy990 Linux - Newbie 1 09-30-2007 09:43 AM
allow users to edit /var/www/html/someFile blizunt7 Linux - Server 8 03-20-2007 08:50 AM
index.html is not noticed in /var/www/html xviddivxoggmp3 Red Hat 1 04-23-2006 07:30 PM


All times are GMT -5. The time now is 02:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration