File Ownership Commands: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 14: | Line 14: | ||
[[Category:AIX][Category:Linux]] | [[Category:AIX]] | ||
[[Category:Linux]] |
Revision as of 23:05, 2 December 2021
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>