Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 05-12-2004, 06:43 PM   #1
Registered: May 2004
Location: London UK
Distribution: Fedora Core 2
Posts: 35

Rep: Reputation: 15
Root access to html in apache

Mandrake 10
Gnome 2.4

How do I get root access to the var/www/html file under Gnome to put my web pages in for localhost access on apache ?

I've tried changing my group to root but no success. Can this only be done through command line and not gnome ?
Old 05-12-2004, 07:45 PM   #2
bruno buys
Senior Member
Registered: Sep 2003
Location: Rio
Distribution: Debian
Posts: 1,509

Rep: Reputation: 46
In kde there's a menu called "File manager - super user mode", that I use exactly for it. Try to find it in gnome.

Or, you can give to root a temporary permission to use your display and launch a root program in command line, like this:

In the console:
As normal user, do:
xhost + localhost

then, as root, do:
export DISPLAY=localhost:0.0

Then, as root, you can launch your file manager (Nautilus, isn't it?) by typing "nautilus" at the console. The window opens with root permission.

It works fine on my suse 9.0, kde 3.1.

Last edited by bruno buys; 05-12-2004 at 07:47 PM.


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
Apache 403 access denied outside of document root freedo5 Linux - Software 2 09-21-2005 09:06 PM
Is there any MSN client with html access? Kakarotto Linux - Software 4 04-18-2005 08:36 PM
how to give apache root access Roll Linux - Software 2 03-02-2005 08:55 AM
Can't access non-server-root directories in Apache jenna_h Linux - Networking 13 10-29-2003 07:22 PM
Apache doesn't allow non-document-root access in default setup jenna_h Mandriva 1 10-28-2003 08:07 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:23 AM.

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