How do you change the owner of a folder?

Tam ca

New member
How do you change the owner of a folder?
Answer
Use chown to change ownership and chmod to change rights. As Paweł Karpiński said, use the -R option to apply the rights for all files inside of a directory too. Note that both these commands just work for directories too.
 

Tìm kiếm

Back
Top