Home  >  Q&A  >  body text

Why are all the files in this folder locked in Ubuntu?

I have also forgotten what operations I have done in the past few days. I only have files in apache2. Every time I modify a file and save it, I have to enter a password. How should I get it back if I don’t want to lock it?

巴扎黑巴扎黑2661 days ago1033

reply all(2)I'll reply

  • 女神的闺蜜爱上我

    女神的闺蜜爱上我2017-06-08 11:04:17

    The user does not have operating permissions on the current file (folder) and needs super user permissions, so he needs to enter a password every time.
    Open terminal, cd to the current directory, and execute the command (you need to enter the password)

    sudo chmod 777 ./*

    reply
    0
  • 仅有的幸福

    仅有的幸福2017-06-08 11:04:17

    For security reasons, use the sudo command to temporarily gain access permissions

    reply
    0
  • Cancelreply