chmod: cannot access 'file' : No such file or directory error when the file exists
I downloaded and saved 2 files on Linux tails live os. I have set the appropriate permissions on those 2 files to allow them as executable. This is the command I used.
sudo chmod 777 home/amnesia/Desktop/file sudo chmod 777 file
However, when I try to access these 2 files, both the files yield me an error as cannot access.
I am not sure why it isn't recognizing the file permissions correctly.
sudo chmod 777 home/amnesia/Desktop/file
sudo chmod 777 /home/amnesia/Desktop/file
you left a '/' slash
better to use will be:
sudo chmod 777 ~/Desktop/file
what is the location of file, if you download it may be in download folder instead of Desktop
I did that and I didn't get any output (no error message, nothing). Does that mean it worked?