LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 02-21-2005, 01:16 AM   #1
cloudxiii
LQ Newbie
 
Registered: Feb 2005
Location: Tallahassee, FL, USA
Distribution: Slackware 10.1
Posts: 5

Rep: Reputation: 0
Changing file permissions within multiple folders


This may be a stupid question but Im trying to change the file permissions and group associations of all the files within a certain directory that contains a lot of subdirectories and files. Is there any way of using a wildcard to do them all at once? I know I can chmod 644 * in each folder but there are so many folders that it would take forever. If anyone knows of an easier way to get this accomplished Id be extremely grateful. thanks a lot
 
Old 02-21-2005, 01:20 AM   #2
Genesee
Member
 
Registered: Dec 2002
Distribution: Slackware
Posts: 927

Rep: Reputation: 30
from the chmod man page:

-R, --recursive
Recursively change permissions of directories and their contents.
 
  


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
changing permissions and ownership on many files and folders Cinematography Linux - General 4 08-01-2005 04:20 AM
File permissions for web site files/folders mackayr Linux - Networking 1 12-01-2004 12:49 PM
file permissions are changing on me viniosity Linux - General 2 10-12-2004 09:13 PM
What is changing my file permissions? lamekain Linux - Security 10 12-08-2003 05:22 AM
Changing file permissions on a SAMBA file share apenney Linux - Software 0 02-11-2002 05:42 PM


All times are GMT -5. The time now is 12:52 AM.

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