Why are all the files in this folder locked in Ubuntu?
巴扎黑
巴扎黑 2017-06-08 11:02:17
0
2
1023

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?

巴扎黑
巴扎黑

reply all (2)
女神的闺蜜爱上我

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 ./*
    仅有的幸福

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

      Latest Downloads
      More>
      Web Effects
      Website Source Code
      Website Materials
      Front End Template
      About us Disclaimer Sitemap
      php.cn:Public welfare online PHP training,Help PHP learners grow quickly!