LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Other *NIX
User Name
Password
Other *NIX This forum is for the discussion of any UNIX platform that does not have its own forum. Examples would include HP-UX, IRIX, Darwin, Tru64 and OS X.

Notices

Reply
 
LinkBack Search this Thread
Old 10-29-2012, 05:40 PM   #1
jnojr
Member
 
Registered: Sep 2007
Location: San Diego, CA
Posts: 175

Rep: Reputation: 15
Question OS X 'find' nogroup/nouser doesn't traverse directories?


Code:
flamingo:~ joliver$ sudo find / -nogroup
find: /dev/fd/4: No such file or directory
find: /home: No such file or directory
find: /Library: No such file or directory
find: /net: No such file or directory
find: /Network: No such file or directory
find: /private: No such file or directory
find: /sbin: No such file or directory
find: /System: No such file or directory
find: /Users: No such file or directory
find: /usr: No such file or directory
find: /Volumes: No such file or directory
flamingo:~ joliver$ ls -l /
total 30453
drwxrwxr-x+ 40 root  admin      1360 Oct 23 16:01 Applications
drwxr-xr-x+ 66 root  wheel      2244 Oct 12 15:01 Library
drwxr-xr-x@  2 root  wheel        68 Jun 18  2011 Network
drwxr-xr-x+  4 root  wheel       136 Oct  1 14:08 System
drwxr-xr-x   7 root  admin       238 Oct 12 10:19 Users
drwxrwxrwt@  4 root  admin       136 Oct 26 14:16 Volumes
drwxr-xr-x@ 39 root  wheel      1326 Oct  1 14:01 bin
drwxrwxr-t@  2 root  admin        68 Jun 18  2011 cores
dr-xr-xr-x   3 root  wheel      4250 Oct 26 13:30 dev
lrwxr-xr-x@  1 root  wheel        11 Oct  1 12:52 etc -> private/etc
dr-xr-xr-x   2 root  wheel         1 Oct 26 13:46 home
-rw-r--r--@  1 root  wheel  15572704 Aug 23 16:27 mach_kernel
dr-xr-xr-x   2 root  wheel         1 Oct 26 13:46 net
drwxr-xr-x@  6 root  wheel       204 Oct  1 12:57 private
drwxr-xr-x@ 62 root  wheel      2108 Oct  1 14:01 sbin
lrwxr-xr-x@  1 root  wheel        11 Oct  1 12:52 tmp -> private/tmp
drwxr-xr-x@ 12 root  wheel       408 Oct 15 08:22 usr
lrwxr-xr-x@  1 root  wheel        11 Oct  1 12:52 var -> private/var
Yet it can if I specify a directory:

Code:
flamingo:~ joliver$ sudo find /Library -nogroup
/Library/McAfee/abm
/Library/McAfee/abm/bin
/Library/McAfee/abm/bin/abm
/Library/McAfee/abm/lib
/Library/McAfee/abm/lib/libABMCommon-3.5.0.1.0.0.dylib
/Library/McAfee/abm/lib/libABMCommon-3.5.0.1.dylib
/Library/McAfee/abm/lib/libABMCommon.dylib
/Library/McAfee/abm/lib/libABMCommon.la
/Library/McAfee/abm/lib/libABMEngine-1.0.0.1.0.0.dylib
/Library/McAfee/abm/lib/libABMEngine-1.0.0.1.dylib
/Library/McAfee/abm/lib/libABMEngine.dylib
/Library/McAfee/abm/lib/libABMEngine.la
/Library/McAfee/abm/lib/libABMPlugin-3.5.0.1.0.0.dylib
/Library/McAfee/abm/lib/libABMPlugin-3.5.0.1.dylib
/Library/McAfee/abm/lib/libABMPlugin.dylib
/Library/McAfee/abm/lib/libABMPlugin.la
/Library/McAfee/abm/lib/libboost_date_time.dylib
/Library/McAfee/abm/lib/libboost_filesystem.dylib
/Library/McAfee/abm/lib/libboost_program_options.dylib
/Library/McAfee/abm/lib/libboost_regex.dylib
/Library/McAfee/abm/lib/libboost_system.dylib
/Library/McAfee/abm/lib/libsqlite3.0.8.6.dylib
/Library/McAfee/abm/lib/libsqlite3.0.dylib
/Library/McAfee/abm/lib/libsqlite3.dylib
/Library/McAfee/abm/lib/libsqlite3.la
 
Old 10-29-2012, 06:23 PM   #2
Reuti
Senior Member
 
Registered: Dec 2004
Location: Marburg, Germany
Distribution: openSUSE 11.4
Posts: 1,319

Rep: Reputation: 252Reputation: 252Reputation: 252
Which version of OS X for me its working fine in 10.6.8 (even with the included find). One note: the find on OS X is not the GNU find, but you could easily compile it on your own.
 
Old 10-30-2012, 12:11 PM   #3
jnojr
Member
 
Registered: Sep 2007
Location: San Diego, CA
Posts: 175

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Reuti View Post
Which version of OS X for me its working fine in 10.6.8 (even with the included find).
10.7.5

Quote:
One note: the find on OS X is not the GNU find, but you could easily compile it on your own.
I'm painfully aware of that ;-) I need to use tools that are available "out of the box", or I'd be grabbing GNU versions of stuff like this as fast as I could :-)
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Find a file in directories without using find command sikanders Linux - Newbie 14 08-06-2010 08:47 PM
NFS4 & Kerberos: All Files/Directories Owned by nobody:nogroup ... sancho Linux - Networking 1 12-19-2007 12:55 AM
bash: make rename script traverse directories morrolan Programming 2 11-08-2006 10:52 AM
pam_mysql authenticates NOUSER cliffb53 Linux - General 1 01-04-2004 02:43 PM
FTP Users are able to Traverse directories up to the root of my server stingay Red Hat 6 10-25-2003 03:22 AM


All times are GMT -5. The time now is 10:15 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration