Project

General

Profile

Feature #794

Finding Files Owned By a User or Group on Linux

Added by Daniel Curtis over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Workstation
Target version:
Start date:
04/10/2016
Due date:
% Done:

100%

Estimated time:
0.10 h
Spent time:

Description

I recently needed to track down every file owned by a user on a Linux machine. Fortunately the find command already has a parameter to limit matches to a user or group.

This works on Linux, BSD, and OSX.

  • Find all files in the root directory owned by the www-data user:
    find / -user www-data
    
  • Find all .php files in the www-data group in the /usr/local/www directory:
    find /usr/local/www -group www-data -name "*.php" 
    

Resources

History

#1 Updated by Daniel Curtis over 1 year ago

  • Subject changed from Finding Files Owned By a User or Group to Finding Files Owned By a User or Group on Linux
  • Description updated (diff)
  • Status changed from New to Resolved
  • % Done changed from 0 to 100

#2 Updated by Daniel Curtis over 1 year ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF