Live Chat & Podcast at 1:00PM Eastern on Sunday!
There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
Linux and Unix
Tag Cloud
access acer asus bios bsod computer crash desktop driver drivers error ethernet excel freeze gaming graphics hard drive hardware hdmi internet laptop lcd malware memory monitor motherboard network operating system printer problem ram registry router slow software sound trojan ubuntu 11.10 uninstall usb video virus vista wifi windows windows 7 windows 7 32 bit windows 7 64 bit windows xp wireless
Search
Search for:
Tech Support Guy Forums > Operating Systems > Linux and Unix >
Is there a command that gives you ownership of a folder and all it's sub-folders

Reply  
Thread Tools
royeo's Avatar
Computer Specs
Member with 158 posts.
 
Join Date: Jul 2006
Experience: Intermediate
01-Jun-2007, 03:58 PM #1
Is there a command that gives you ownership of a folder and all it's sub-folders
I have Fedora Core 5 and use KDE.

I am able to change ownership of a folder with "chown ID directory" (no quotes). But I would like to be able to change the ownership of that folder/directory and all sub-folders. Can someone tell me if it's possible and if so, how to do it?

Thanks,

royeo
dodgyphil's Avatar
Computer Specs
Junior Member with 27 posts.
 
Join Date: May 2007
Experience: Intermediate
01-Jun-2007, 06:19 PM #2
Use -R
That ones not too hard. There are not too many switches but -R (must be capitol).

chown -R user:group /directory

Cheers
PhilD
vtel57's Avatar
Senior Member with 803 posts.
 
Join Date: Jul 2004
Location: Tampa, Florida, USA
Experience: Intermediate to Advanced
01-Jun-2007, 11:15 PM #3
When in doubt about how a command works:

Code:
 $ man <command>
< and > signifies that something needs to be entered here. For example, if you wanted to read the manual page for the chown command:

Code:
 $ man chown
Luck!
Reply

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Search Tech Support Guy

Find the solution to your
computer problem!




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.
Thread Tools



Facebook Facebook Twitter Twitter TechGuy.tv TechGuy.tv Mobile TSG Mobile
You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 01:24 AM.
Copyright © 1996 - 2011 TechGuy, Inc. All rights reserved.

Powered by Cermak Technologies, Inc.