File Ownership Commands
Jump to navigation
Jump to search
Linux File Ownership Commands
No User Corresponds to File's Numeric User ID
- # find <directory> -nouser -print0 | xargs -0 chown <new user>
No Group Corresponds to File's Numeric Group ID
- # find <directory> -nogroup -print0 | xargs -0 chgrp <new group>
AIX File Ownership Commands
No User Corresponds to File's Numeric User ID
- # find <directory> -nouser | xargs -h chown <new user>
No Group Corresponds to File's Numeric Group ID
- # find <directory> -nogroup | xargs -h chgrp <new group>