ssh 服务器 下载文件
![terminal-ssh-client Teminal SSH Client Image](https://i-blog.csdnimg.cn/blog_migrate/82ff0bf6866d2807a8c03308f1495155.gif)
This is because the file is owned by root and not by the user that the file is created under, for example an account you had set up through WHM. To change ownership of the file to the specific account, use:
这是因为该文件是由root拥有的,而不是由创建该文件的用户拥有的,例如,您通过WHM设置的帐户。 要将文件的所有权更改为特定帐户,请使用:
chown username:usergrouup filename.extension
chown用户名:usergrouup filename.extension
If you had set up the account via WHM, you’d change username:usergroup to the username of the account, such as:
如果您是通过WHM设置帐户的,则可以将username:usergroup更改为该帐户的用户名,例如:
chown wpress:wpress index.html
chown wpress:wpress index.html
ssh 服务器 下载文件