FG
💻 Software

How to chown large group of files based on previous owner id?

Fresh5 days ago
Mar 15, 20261056 views
Confidence Score0%
0%

Problem

I created a new account in OS X and disposed of my old one. I have a bunch of files that now have owner 501 that need to have ownership changed to me GOAL I want to recursively find all files and directories in with owner and chown them to NOTE Some of the files and directories in this folder are o…

Error Output

[/usr/local]$ ll 
total 24
drwxrwxr-x  18 root  admin   612B Oct 20 11:01 ./
drwxr-xr-x@ 14 root  wheel   476B Oct 19 10:43 ../
-rw-r--r--   1 501   …

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to chown large group of files based on previous owner id?

Low Risk

By the way, also has the option that matches all files with UIDs of deleted users: would also match files by another deleted user.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment