LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 12-28-2004, 04:24 PM   #1
secular
LQ Newbie
 
Registered: Dec 2004
Posts: 1

Rep: Reputation: 0
finding directories w/ certain permissions


I am decently knowledgable about linux but there is still alot I do not know. One of my main questions for securing my box is, "how can I find dirs with certain permissions"? I am about purchase Linux Unleashed but until then I am looking to these forums for help. As an example. How would I find all dirs on a system with chmod 700 permissions?

Thanks in advance
 
Old 12-28-2004, 04:36 PM   #2
amfoster
Member
 
Registered: Aug 2004
Distribution: debian, SuSE
Posts: 365

Rep: Reputation: 36
find / -type d -a -perm 700

or ones with at least 700 would be

find / -type d -a -perm +700
 
  


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
finding empty directories with bash Iriel Solaris / OpenSolaris 10 02-18-2016 03:59 AM
Finding files and directories ihatecomputers Linux - Software 1 03-24-2005 09:29 AM
help with WINE...., not finding fake windows directories... Byan Linux - Newbie 2 08-03-2004 07:43 AM
permissions home directories powadha Debian 6 06-11-2004 11:45 AM
finding empty directories... PokerFace Linux - General 2 10-16-2002 08:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 03:36 AM.

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