Ändern Sie Benutzer linuxcommand ch
chown USER:GROUP FILE
Change the user and grop for an entire folder:
chown -R USER:GROUP FILE
Sergiu The Man
chown USER:GROUP FILE
Change the user and grop for an entire folder:
chown -R USER:GROUP FILE
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".