why can't i create a file in my code editor?

Posted March 30, 2016 2.1k views

error: permission denied

1 comment
  • @btekum can you provide some more information, about what you were doing when you encountered this error?? it is a bit hard to help you at the moment, with so little information

    edit: didn’t realise there was a comment section when I wrote this as an answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
2 answers

@btekum I think you are trying to create a file or modify a file where you do not have permission.
Try sudo before command, if your are modifying or creating a file in Ubuntu VPS.