- Joined
- Jul 20, 2016
- Messages
- 271
- Points
- 18
I have a zip file and i uploaded it to my vps server but strange thing is, after unzip it then I get all files and folders with no ownership. I had to run this command
chown -R username.username /path/to/my/folder/
to make ownership for new files and folders just uploaded to my server.
This problem didn't happen when I upload file from FTP client program and not zip them.
My question is, how can I change file ownership in SSH? and make this process automatically.
Thanks in advance.
chown -R username.username /path/to/my/folder/
to make ownership for new files and folders just uploaded to my server.
This problem didn't happen when I upload file from FTP client program and not zip them.
My question is, how can I change file ownership in SSH? and make this process automatically.
Thanks in advance.