Hello,
When I upload files using FTP the files owner is the same as the FTP login (exm: [email protected]) and the group is the same as the FTP login without the @ (exm: login).
If I upload a TAR file and then using ssh untar it, the unTARed directories and file have owner root and group root. If I try to chown the files and directories so that the owner is the same as the FTP owner, I get an error about the user being invalid. For example, if I try
chown -R [email protected]:user
I get the following message
chown: `[email protected]`: invalid user
How can I set the user to be [email protected] using chown?
Thanks
When I upload files using FTP the files owner is the same as the FTP login (exm: [email protected]) and the group is the same as the FTP login without the @ (exm: login).
If I upload a TAR file and then using ssh untar it, the unTARed directories and file have owner root and group root. If I try to chown the files and directories so that the owner is the same as the FTP owner, I get an error about the user being invalid. For example, if I try
chown -R [email protected]:user
I get the following message
chown: `[email protected]`: invalid user
How can I set the user to be [email protected] using chown?
Thanks