Question
I created a new file, but `nano` still gives "Permission denied" when I try to save it. What could be the issue?
Asked by: USER8951
112 Viewed
112 Answers
Responsive Ad After Question
Answer (112)
Even if you created the file, the problem often lies with the directory where you are trying to save it. You might not have write permissions for that specific directory, even if you are the 'owner' of the new file's content. Check the permissions of the parent directory using `ls -ld /path/to/parent/directory/` to ensure your user has write access there.