Sample Header Ad - 728x90

chmod 400 command returning "No such file or directory" error. Trying to launch an instance through AWS

0 votes
1 answer
19378 views
CODE: root@crane-linux:/home/crane/Downloads# sudo chmod 400 ~/home/crane/Downloads/mykey.pem chmod: cannot access '/root/home/crane/Downloads/mykey.pem': No such file or directory root@crane-linux:/home/crane/Downloads# ls discord-0.0.1.deb mykey.pem torguard-latest-amd64.deb root@crane-linux:/home/crane/Downloads# Someone please help. I am having trouble with chmod not recognizing my file. I am using the provided tutorial to launch an instance through aws, but I keep getting a "No such file or directory" error, but as you can see when I did ls, the file does exist. Am I missing something here? Ive tried googling for the answer and tried entering the command in a bunch of different formats, but I keep getting the same problem. No one said this would be easy.... P.S. I dont know how to make the quote box show up without the word "quote" like I see people do when they share something from the console. Its probably something simple IM just looking over but....
Asked by CulturedI Crane (13 rep)
Mar 12, 2017, 07:06 PM
Last activity: Jan 29, 2022, 09:33 PM