Friday, June 17, 2016

Change the UID of files

Occasionally, the Centrify client on my corporate mac changes the UID associated with my username.  This breaks nearly everthing.  Solution is to do the following as root:

identify the old uid with %ls -ln
identify the new uid with %id -u


% find / -user -exec chown -vh {} ;

No comments:

Post a Comment