LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 10-08-2005, 06:46 PM   #1
linuxmandrake
Member
 
Registered: Sep 2004
Distribution: debian sarge 64bit (AMD)
Posts: 709

Rep: Reputation: 30
chmod and chown affecting whole directories


How do I change the owner and file permissons so that it affects all files within the specified directory including subdirectories and sub subdirectories etc.

BY the way these files are just system files for games so no need for tight security

Last edited by linuxmandrake; 10-08-2005 at 06:54 PM.
 
Old 10-08-2005, 07:04 PM   #2
felixc
Member
 
Registered: Jul 2005
Distribution: Debian
Posts: 94

Rep: Reputation: Disabled
Hello,

"man chmod" will give you this page http://web.cse.msu.edu/cgi-bin/man2h...mod?1?/usr/man where you can see that appending the -R option will recursively descend through directories changing all files. At least that is how I interpreted it, but then again I am rather new and unsure as to what "recursively" means. Best of luck,

-Felix
 
  


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
chmod/chown and folders :) chibi Linux - Newbie 2 04-28-2005 04:56 PM
Arg!! chown /chmod Kanon Linux - Newbie 10 01-16-2005 03:05 PM
Log Chmod and Chown FernandoLozano Linux - Security 5 01-10-2005 09:01 AM
reverse chmod/chown changes demmylls Linux - General 1 02-09-2004 12:16 AM
chmod command not affecting files blueleft Linux - General 4 08-09-2003 11:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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