LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 07-04-2010, 02:44 AM   #1
nortonz
LQ Newbie
 
Registered: May 2010
Location: North ID. USA
Distribution: Fedora 12
Posts: 24

Rep: Reputation: 15
Change folder ownership in Fedora 12


Hi there I know I asked this question before, but I was running CentOS and I used "chuser" and that worked just fine, but for some reason in Fedora it doesn't exist. Is there another command that works in Fedora?

I'm tring to change all files, and folders in my "www" folder to "apache:apache"

Thanks

Michael

Last edited by nortonz; 07-04-2010 at 02:46 AM.
 
Old 07-04-2010, 03:14 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 12,657

Rep: Reputation: 1817Reputation: 1817Reputation: 1817Reputation: 1817Reputation: 1817Reputation: 1817Reputation: 1817Reputation: 1817Reputation: 1817Reputation: 1817Reputation: 1817
Hi,

Use chown:
Code:
chown -R apache:apache /full/path/to/www
For more details about chown read the manpage

Regards
 
Old 07-04-2010, 11:28 AM   #3
nortonz
LQ Newbie
 
Registered: May 2010
Location: North ID. USA
Distribution: Fedora 12
Posts: 24

Original Poster
Rep: Reputation: 15
Thanks for the Reply, I tried "help" in termanel, but that command did not come up. I will try it today. Thank you.

Michael
 
Old 07-04-2010, 11:31 AM   #4
nortonz
LQ Newbie
 
Registered: May 2010
Location: North ID. USA
Distribution: Fedora 12
Posts: 24

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by bathory View Post
Hi,

Use chown:
Code:
chown -R apache:apache /full/path/to/www
For more details about chown read the manpage

Regards
Thank You for the reply, I tried "help" in termanel, but that command did not come up. I will give it a try today.

Thank you

Michael
 
Old 07-04-2010, 11:33 AM   #5
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,528

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Quote:
Thank You for the reply, I tried "help" in termanel, but that command did not come up. I will give it a try today.
try
Code:
man chown
 
  


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
PHP - dynamically create folder and reassign ownership adymroxx Programming 6 05-02-2009 04:48 PM
How to restore default Ownership for every folder in Linux. RMLinux Linux - Newbie 4 11-26-2008 02:25 AM
change ownership of folder & its contents roadrash Linux - Newbie 7 07-11-2007 10:07 AM
Is there a command that gives you ownership of a folder and all it's sub-folders royeo Linux - Newbie 3 06-01-2007 01:55 PM
Website Hosting and file/folder ownership vbfischer Linux - Security 2 07-01-2004 12:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:57 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