Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 07-27-2004, 11:23 PM   #1
Registered: Apr 2004
Posts: 131

Rep: Reputation: 15
Changing permission of folders and subfolders

I'm trying to change the permission of some of my folders, it works out ok excepth that the subfolders doesn't change with it. Is there any way where I can change the permission of the folder along with its subfolders?
Old 07-27-2004, 11:27 PM   #2
Senior Member
Registered: Oct 2003
Location: Zurich, Switzerland
Distribution: Debian/unstable
Posts: 1,357

Rep: Reputation: 47
chmod -R

or to change just folders:
find -type d | xargs chmod
.. or if your directories has spaces in them, you have to use null terminated strings instead:
find -type d -print0 | xargs -0 chmod
Old 07-28-2004, 01:11 AM   #3
Registered: Apr 2004
Posts: 131

Original Poster
Rep: Reputation: 15
I see, option -R is the one I was looking for. thanks!


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
permission 775 to all folders and sub... amer_58 Linux - Newbie 3 04-23-2005 05:21 AM
Changing Access To Folders John_Emad Linux - Security 9 01-03-2005 02:52 AM
Changing ownership of folders Nurfen Linux - Newbie 1 08-01-2004 01:00 PM
Folders not showing up! ::changing folder colors:: XxAndyxX Linux - Software 1 03-24-2003 05:04 AM
Changing kernel source folders chingasman Linux - General 2 01-07-2003 06:28 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:51 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration