Knowledgebase

Powered by WHMCompleteSolution

Language:

Please Login or Register

 

Knowledgebase Article
Subject: How to change ownership of all the files in a directory using SSH?
Run this command via SSH:



Go to the directory itself where you want to change the ownership of all the files under it.



run these commands in SSH:



cd ..

chown -R username:username ./folder name



Alternative you can also use this command:



chown -R username:username /foldername
Back