osuka_
0
Q:

how to change owner of all files in a directory

chown -R username:group directory
1
# Using the '*' wildcard you can include all other files and dirs
# Only us as many wildcards as you have layers in you directory
sudo chown <username:username> <directory_name>/*/*
1

New to Communities?

Join the community