chmod: cannot access 'file' : No such file or directory error when the file exists

Hodurrr

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.

Hackaholic

this to:

sudo chmod 777 home/amnesia/Desktop/file

this:

sudo chmod 777 /home/amnesia/Desktop/file

you left a '/' slash

better to use will be:

sudo chmod 777 ~/Desktop/file

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

du cannot access file - No such file or directory error

From Dev

mklink error: Cannot create a file when that file already exists

From Dev

'No such file or directory' error in bash, but the file exists?

From Dev

'No such file or directory' error in sh, but the file exists?

From Dev

No such file or directory error even the file exists in Java

From Dev

chcon: cannot access (file): No such file or directory

From Dev

django file not found error: when javascript file inside static directory trying to access another file in the static directory?

From Dev

Cannot read directory "(name)": File exists

From Dev

Cannot launch an application, 'No such file or directory' but it exists

From Dev

"No such file or directory" when trying to remove a file, but the file exists?

From Dev

"No such file or directory" when trying to remove a file, but the file exists?

From Java

FtpWebRequest returning "550 File unavailable (e.g. file not found, no access)" when using ListDirectoryDetails for a directory that exists

From Dev

Chmod: Execute only if the file is a directory

From Dev

Chmod: Execute only if the file is a directory

From Dev

xargs + chmod - file or directory not found

From Dev

Excel cannot access the file when saving file

From Dev

Sudo chmod +x leads to "cannot access [file] permission denied"

From Dev

Error when creating directory and then opening a file within it in Python, but no error if directory already exists

From Dev

No such file or directory but library exists?

From Dev

Checking if file exists in directory

From Dev

No such file or directory but library exists?

From Dev

If file and directory exists

From Dev

cannot open shared object file: No such file or directory error while there is file

From Dev

Rails Error: Unable to access log file. Please ensure that /home.../log/development.log exists and is chmod 0666

From Dev

"no such file or directory" message when deleting a file that exists on NTFS

From Dev

File definitely exists. Get "No such file or directory" when trying to run it

From Dev

Cannot mount Synology server on Raspberry Pi, but can access it in the file browser (mount error(2): No such file or directory)

From Dev

cannot access /dev/video*: No such file or directory

From Dev

chown: cannot access 'lisa': No such file or directory

Related Related

  1. 1

    du cannot access file - No such file or directory error

  2. 2

    mklink error: Cannot create a file when that file already exists

  3. 3

    'No such file or directory' error in bash, but the file exists?

  4. 4

    'No such file or directory' error in sh, but the file exists?

  5. 5

    No such file or directory error even the file exists in Java

  6. 6

    chcon: cannot access (file): No such file or directory

  7. 7

    django file not found error: when javascript file inside static directory trying to access another file in the static directory?

  8. 8

    Cannot read directory "(name)": File exists

  9. 9

    Cannot launch an application, 'No such file or directory' but it exists

  10. 10

    "No such file or directory" when trying to remove a file, but the file exists?

  11. 11

    "No such file or directory" when trying to remove a file, but the file exists?

  12. 12

    FtpWebRequest returning "550 File unavailable (e.g. file not found, no access)" when using ListDirectoryDetails for a directory that exists

  13. 13

    Chmod: Execute only if the file is a directory

  14. 14

    Chmod: Execute only if the file is a directory

  15. 15

    xargs + chmod - file or directory not found

  16. 16

    Excel cannot access the file when saving file

  17. 17

    Sudo chmod +x leads to "cannot access [file] permission denied"

  18. 18

    Error when creating directory and then opening a file within it in Python, but no error if directory already exists

  19. 19

    No such file or directory but library exists?

  20. 20

    Checking if file exists in directory

  21. 21

    No such file or directory but library exists?

  22. 22

    If file and directory exists

  23. 23

    cannot open shared object file: No such file or directory error while there is file

  24. 24

    Rails Error: Unable to access log file. Please ensure that /home.../log/development.log exists and is chmod 0666

  25. 25

    "no such file or directory" message when deleting a file that exists on NTFS

  26. 26

    File definitely exists. Get "No such file or directory" when trying to run it

  27. 27

    Cannot mount Synology server on Raspberry Pi, but can access it in the file browser (mount error(2): No such file or directory)

  28. 28

    cannot access /dev/video*: No such file or directory

  29. 29

    chown: cannot access 'lisa': No such file or directory

HotTag

Archive