LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-04-2008, 06:55 AM   #1
pepe0121
LQ Newbie
 
Registered: Jun 2007
Posts: 7

Rep: Reputation: 0
find / -perm +020?????


Hi everyone!

I have a question about the find command. I want to find all files in a directory that have group read permissions among other permissions. I have done some research and this is the command that I used:

#find ./ -perm +020

and I get something like:

-rw-rw---- A1
-rw-rw---T A5

when I have this other file in the same directory:

----r---- A4

I wonder why don't I get the following output that I'm lookin for:

-rw-rw---- A1
----r----- A4
-rw-rw---T A5

thanx,
 
Old 01-04-2008, 07:42 AM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
According to the man page, the form " -perm +xxx" is deprecated and not recommended for use.

I tried reading thru the various recommend forms for -perm and I got a headache. While I search for my aspirin, I suggest you try some of the examples they give.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
find -perm the_imax Linux - General 2 12-05-2007 02:57 PM
Remove symbolic links from output of find . -perm helptonewbie Linux - Newbie 2 10-31-2007 10:03 AM
cpmove-mysite.tar.gz.part10 100,020,000? lexington Linux - Newbie 3 05-10-2004 06:35 PM
Glib-1.020 install problem Can't use an undefined value as a symbol reference jimdaworm Linux - Software 1 01-03-2004 05:32 AM
find / \( -perm -0200 -o -perm -04000 \) -ls. How to remove the bit ForumKid Linux - Security 3 01-16-2002 11:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:50 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