LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-27-2004, 11:10 PM   #1
Lleb_KCir
Senior Member
 
Registered: Nov 2003
Location: Orlando FL
Distribution: Debian
Posts: 1,765

Rep: Reputation: 45
question about chmod and subdirectories


the 2 distros i am using are RH9 and whitebox 3.

i just copied over my web directory from the RH box over to the whitebox system and then typed: chmod 755 /www/ssma/docs/*

now from what little i understand that should make EVERYTHING including subdirectories and the files under those subs set to 755 permissions...

yet it was not, i have to go and manualy chmod every subdirectory in order to have them accessable via the web.

what am i missing here. thanks.
 
Old 07-27-2004, 11:17 PM   #2
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480° N, 95.3690° W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 47
The -R option for recursive
chmod -R 755 /www/ssma/docs/
 
Old 07-28-2004, 09:55 AM   #3
Lleb_KCir
Senior Member
 
Registered: Nov 2003
Location: Orlando FL
Distribution: Debian
Posts: 1,765

Original Poster
Rep: Reputation: 45
ahh can use the -R in the chmod... that is good to know. thank you i shall add that to memory.
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
chmod question Napalm Llama Linux - General 2 06-17-2005 09:17 AM
ls question: how to avoid listing contents of subdirectories learnfast Linux - Newbie 2 03-09-2005 08:59 AM
Image Viewer question (view images subdirectories) gflores Linux - Newbie 1 02-21-2005 01:25 AM
chmod question tongar Linux - Newbie 2 01-30-2005 02:43 PM
chmod Question Rawr101 Linux - General 1 09-19-2004 03:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:59 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
Open Source Consulting | Domain Registration