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
Newbie, Directories permissions sypherz Linux 3 04-22-2008 11:14 AM
Backup Directories and SubDirectories with log using DOS osramos Windows & DOS: Issues & Discussions 1 11-14-2007 02:10 PM
Compare/Diff between directories and subdirectories? andylee80 UNIX for Dummies Questions & Answers 5 07-12-2007 06:45 AM
Display only subdirectories from given directories HAA Shell Programming and Scripting 8 04-25-2007 02:36 AM
How to Remove Ctrl M characters in files from directories and its subdirectories skdp Shell Programming and Scripting 7 07-29-2006 08:53 PM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-07-2006
Registered User
 

Join Date: Aug 2006
Posts: 1
Permissions for Directories and Subdirectories

Is it possible to have a directory owned (by root) with permissions drwx------
and then have a sub directory of rwxrwxrwx.

I know that this may be soo simple but I had no luck googling it.

Thanks for your help
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 08-07-2006
Supporter
 

Join Date: Jul 2006
Posts: 156
It's very possible to have directories setup like this.

Code:
[root@localhost ~]# ls -ld junk/
drwx------  3 root root 4096 Aug  7 17:37 junk/
[root@localhost ~]# ls -l junk/
total 4
drwxrwxrwx  2 root root 4096 Aug  7 17:37 junk1
[root@localhost ~]#
But no, I don't think any other user could write to the directory with 777 permissions if it was below the directory owned by root with 700 permissions.
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 03:55 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0