![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| 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 !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Awk - to test multiple files "read" permission ? | lokiman | Shell Programming and Scripting | 1 | 02-09-2008 09:10 AM |
| ls while read loop - internal read picking up wrong input | dkieran | Shell Programming and Scripting | 2 | 05-14-2007 12:02 PM |
| Permission file questions--Please read!!! | bobo | UNIX for Dummies Questions & Answers | 4 | 02-10-2007 08:03 PM |
| read line and read next | ariuscy | UNIX for Dummies Questions & Answers | 7 | 09-21-2005 04:04 AM |
| read permission but cant ls -l it. | Optimus_P | UNIX for Advanced & Expert Users | 6 | 04-23-2004 09:10 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#8
|
|||
|
|||
|
Quote:
what if the files are created with read mode permission bit masked off? (Ideally nobody would have opted that way) |
| Forum Sponsor | ||
|
|
|
#9
|
|||
|
|||
|
I think what you're looking for is the find command:
Code:
find -perm 644 -maxdepth 1 As stated, just about every file on the system is readable by someone. By using find you can specify whether to return files that are group or world readable. Here's the man page on find: http://linux.about.com/od/commands/l/blcmdl1_find.htm And this spells out usage fairly well: http://www.linux.ie/newusers/beginne...guide/find.php |
|
#10
|
||||
|
||||
|
Quote:
The solution presented above by this213 is as good as it gets, however, it is not a command that will specifically tells what's readable or not, but rather looks for specific permissions, which is not the same thing. |
||||
| Google The UNIX and Linux Forums |