Answers for "unix change owner of directory and subdirectories"

10

change owner directory linux

sudo chown -R username:group directory
Posted by: Guest on March-01-2021
0

change directory, files and sub-directories owner in linux

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".
Posted by: Guest on January-13-2022

Code answers related to "unix change owner of directory and subdirectories"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language