Following is command to use. Below command searches for all files owned by root user in current directory and changes user group ownership to appuser:appgroup
find . -user root -exec chown appuser:appgroup {} \;
Products to which Article Applies
All Linux Operating System
Search Keywords: linux unix find finding file owned own particular user files owner super user all command commands change changing ownership different another other directory directories
Article Author: Tarun Boyella
No comments:
Post a Comment