Fedora Linux Support Community & Resources Center
Old 23rd June 2008, 11:50 PM
bubaphex Offline
Registered User
Join Date: Mar 2008
Posts: 30
Directory Permissions, how to change

Hey all,

was wondering if some one could help me change the file permissions of a directory and every thing inside of it.

I tried doing this in the gui but the permissions didn't go through to every folder/file.

basicly i have one folder called adserver, its current owner is root, i want this changed to developer.

the folder is located in /var/www/html/

is there some quick cmd i can use to do this ?
Reply With Quote
Old 24th June 2008, 12:15 AM
sergeykam Offline
Registered User
Join Date: Jun 2008
Posts: 6
just add -R parameter to chown and/or chmod command:

chown -R developer /var/www/html/folder

thats changes everything in the /var/www/html/folder to be owned by developer.
If you want to change group ownership as well, put it after developer and colon:

chown -R developer:new_group /var/www/html/folder

The same thing with permissions:

chmod -R <permission modes> /var/www/html/folder


Last edited by sergeykam; 24th June 2008 at 12:20 AM.
Reply With Quote

change, directory, permissions

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need to Change directory Permissions techntutor Using Fedora 2 15th July 2009 09:55 AM
Directory Permissions bubaphex Servers & Networking 8 1st April 2008 04:48 PM
cannot change permissions for data directory comsinc Using Fedora 3 28th October 2006 10:26 PM
Directory Permissions Help! taigon Servers & Networking 2 27th March 2006 04:51 AM

Current GMT-time: 03:56 (Sunday, 20-08-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat