Touch command. Permission denied.

Discussion in 'Linux Beginners' started by EKh@ng, Sep 26, 2021.

  1. EKh@ng

    EKh@ng New Member

    I'm working on Fedora. I had an assignment in which I was supposed to use the touch command to create a new file. Yet it keeps returning permission denied. Others were able to do the same thing. Though why do I keep getting this error? Please help!
     
  2. Jesse Norell

    Jesse Norell Well-Known Member Staff Member Howtoforge Staff

    You probably don't have permission to write to the directory where you are creating the file.
     

Share This Page