![]() ![]() If you want to change the owner of a recursive folder, add a -R switch to the command, as shown below. For example, for ubuntu instances, it’s ubuntu and for RHEL instances its ec2-user. In the above command, the user is your instance’s default username. So, if you want to download those files, ssh into the machine and change the owner of that file to the normal user using the following command. You will get permission denied error when you try to download a file owned by root. So the files which are owned by root cannot be uploaded and downloaded.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |