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 04-18-2004, 09:55 AM   #1
Registered: Mar 2004
Distribution: Fedora Core 1
Posts: 48

Rep: Reputation: 15
Folder Permissions

I'm trying to modify the contents of the apache HTTPD folder -- but when i try to delete anything (the like 20 indexes in 20 languages) it says I can't delete the stuff. I don't have correct permissions. If I go to the parent folder, right-click on HTTPD and hit proprieties, it won't let me change the permissions because I'm not the "owner"... I"m the only user on it. Is it possible to change my account type so I have control over ALL folders on the drive, including file system ones?

Old 04-18-2004, 09:59 AM   #2
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 261Reputation: 261Reputation: 261
Sounds to me your logged in as a user but root owns these files and directories by default. Login as root or su to change permissions, ownership.. etc.
Old 04-18-2004, 10:02 AM   #3
Registered: Mar 2004
Distribution: Fedora Core 1
Posts: 48

Original Poster
Rep: Reputation: 15
How do I log in a root?
Old 04-18-2004, 10:31 AM   #4
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 67
At a terminal
su -
Old 04-18-2004, 11:55 AM   #5
Registered: Sep 2003
Distribution: Redhat 9.0 && Slackware 9.1
Posts: 420

Rep: Reputation: 30

chmod -R a+rwx httpd/

that will allow everyone to read write or execute stuff from anything under the httpd/ folder
Old 04-18-2004, 03:08 PM   #6
Registered: Dec 2003
Location: Bangkok- Thailand
Distribution: Mandriva 10.0,Fedora Core 4
Posts: 79

Rep: Reputation: 15
I have a little trick!
from the question. U are not root!
So u don't have a permission!!!
It's not good idea if u always log in as root.

su - root (Just one time)
:Enter passwd

usermod -g root yourloginName

"then go to the target folder"

chmod -R u=rwx,g=rwx,o= targetFolder

"then exit"


now even u aren't root but now u've full power!

Sorry if u've known.


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
permissions difference between /home/..../folder and /root/folder darkleaf Linux - General 3 07-21-2005 05:23 PM
folder permissions steve007 Linux - Newbie 1 06-30-2005 12:46 PM
Folder permissions Canam97 Mandriva 7 03-10-2005 11:01 PM
folder permissions Godsmacker777 Linux - Newbie 4 12-02-2004 10:26 PM
Folder permissions help Seventh Linux - Newbie 2 04-22-2004 05:56 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:19 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
Open Source Consulting | Domain Registration