#1 (permalink)  
Old 10-18-2006, 02:30 PM
Registered User
 
Join Date: Feb 2003
Posts: 301
compunet2
Find files owned by 'nobody'

I have a folder, /home/xxx/public_html, and I want to find all files in that folder, and its subfolders that are owned by 'nobody'. How can I do that? If thats not possible, how can I have it list the contents of that folder and its subfolders to a file for me to lookat?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 10-18-2006, 03:23 PM
Senior Member
 
Join Date: Jun 2005
Location: Area 51
Posts: 1,631
Spiral is on a distinguished road
Easy enough ....
Code:
cd /home

find ./*/public_html -user 'nobody'
You can replace the "*" with a login name if you only want the files owned
by nobody for a specific account listed.

Last edited by Spiral; 10-18-2006 at 03:26 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

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



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


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
© cPanel Inc