change user linuxcommand ch
chown USER:GROUP FILE
Change the user and grop for an entire folder:
chown -R USER:GROUP FILE
change user linuxcommand ch
chown USER:GROUP FILE
Change the user and grop for an entire folder:
chown -R USER:GROUP FILE
add owner linux
# chown new-owner filename
chown
Examples
chown root /u
Change the owner of /u to "root".
chown root:staff /u
Likewise, but also change its group to "staff".
chown -hR root /u
Change the owner of /u and subfiles to "root".
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us