LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 04-23-2005, 04:10 AM   #1
amer_58
Member
 
Registered: Mar 2004
Distribution: Slackware 10.2
Posts: 213

Rep: Reputation: 30
permission 775 to all folders and sub...


I am trying to delete a folder and that folder contains many subfolders, every folder has a different permission so i am not able to delete the main folder.

I have tried to change the permisson to

chmod 775 * but that wont change the permission of the subfolders and the files within the subfolders, how can i change the permission of all subfolders and files at once.

Thanks.
 
Old 04-23-2005, 04:11 AM   #2
Ephracis
Senior Member
 
Registered: Sep 2004
Location: Sweden
Distribution: Ubuntu, Debian
Posts: 1,109

Rep: Reputation: 49
chmod -R 755 folder
rm -fr folder
 
Old 04-23-2005, 04:19 AM   #3
amer_58
Member
 
Registered: Mar 2004
Distribution: Slackware 10.2
Posts: 213

Original Poster
Rep: Reputation: 30
Thanks, I have tried chmod -r 775 * but it didnt work... so I assumed the R wouldnt work .....
 
Old 04-23-2005, 04:21 AM   #4
SETXBera
LQ Newbie
 
Registered: Apr 2005
Location: Space Coast, FL
Distribution: Ubuntu 9.10
Posts: 17

Rep: Reputation: 1
Actually Linux is case sensitive when entering commands, so the -R should work.
 
  


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
can't execute c++ binaries, "permission denied"... even though permission is 777 SerfurJ Programming 14 02-20-2009 04:50 AM
folders qerf Linux - Newbie 1 11-19-2005 09:20 PM
So many folders merchtemeagle Linux - Newbie 4 10-07-2004 08:23 AM
Changing permission of folders and subfolders pablowablo Linux - Newbie 2 07-28-2004 12:11 AM
default permisions 775 pao Linux - Security 4 07-07-2004 11:08 AM


All times are GMT -5. The time now is 04:19 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration