The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Recursive FTP -- here at last. Perderabo Shell Programming and Scripting 52 03-25-2009 12:15 PM
To give the "unzip" permissions & "create" file permissions Mike1234 HP-UX 3 03-02-2008 05:34 PM
recursive rcp Nicol Shell Programming and Scripting 6 11-06-2003 11:52 AM
perl + Net::FTP::Recursive Optimus_P Shell Programming and Scripting 2 07-11-2003 03:09 PM
Recursive FTP aslamg UNIX for Dummies Questions & Answers 1 03-08-2001 04:27 AM

Reply
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 10-21-2009
the_red_dove the_red_dove is offline
Registered User
  
 

Join Date: Aug 2009
Location: California
Posts: 23
Recursive Permissions???

Is there anyway that I can change permissions on a directory and all its sub-directories and files using one single "chmod" command??
  #2 (permalink)  
Old 10-21-2009
ghostdog74 ghostdog74 is offline Forum Advisor  
Registered User
  
 

Join Date: Sep 2006
Posts: 2,558
check the man page of chmod. the answer is there
  #3 (permalink)  
Old 10-21-2009
BeJay BeJay is offline
Registered User
  
 

Join Date: Oct 2009
Posts: 3
Use -R switch

ie: chmod 777 -R /home/whatever/blahh
  #4 (permalink)  
Old 10-22-2009
the_red_dove the_red_dove is offline
Registered User
  
 

Join Date: Aug 2009
Location: California
Posts: 23
@ghostdog74: I am teaching myself. I screwed up something while installing....the man pages are not working properly!! I don't have net access either to google it

@BeJay: I deserve a kick in the a#*. I used -r, didn't think of the CASE.

Thanks guys!
  #5 (permalink)  
Old 10-22-2009
ghostdog74 ghostdog74 is offline Forum Advisor  
Registered User
  
 

Join Date: Sep 2006
Posts: 2,558
Quote:
Originally Posted by the_red_dove View Post
@ghostdog74: I am teaching myself. I screwed up something while installing....the man pages are not working properly!! I don't have net access either to google it
then check the command's own help option. usually -h or --help
  #6 (permalink)  
Old 10-22-2009
the_red_dove the_red_dove is offline
Registered User
  
 

Join Date: Aug 2009
Location: California
Posts: 23
Ok, that's new! I'll check it out. Thanks though!
Here's another one, if you don't mind: I logged in as a normal user "ABC" then I did "su" to root. I tried to kill the pid of the user by saying "kill -9 pid-of-ABC" Instead, everything is being killed and I'm going back to the login. Am I killing the entire shell here? How do I avoid that and let the "root" stay logged in??
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 08:19 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0