If nano says 'Error writing no such file or directory', could it be a permissions issue?

Question

Grade: Education Subject: Support
If nano says 'Error writing no such file or directory', could it be a permissions issue?
Asked by:
88 Viewed 88 Answers

Answer (88)

Best Answer
(268)
Yes, permissions are a very likely cause. If the directory exists but your user account doesn't have write privileges within it, nano will fail to write the file and report this error. Use `ls -ld ` to check permissions and `chmod` to adjust them if needed.