Solution: 1. Right-click the file and click "Properties"->"Security"->"Advanced"; 2. In the "Permissions" page, click "Change Permissions"; 3. Cancel Check "Include permissions that can be inherited from this object's parent"; 4. Click "Edit", click the check mark under "Allow", and click "OK".
#Sometimes deleting a file will prompt a popup requiring permissions, which is very troublesome, so how to solve this problem?
The details are as follows:
1. Right-click the file and click "Properties"->"Security"->"Advanced", as shown below .
2. After clicking "Advanced", find and click "Owner", and then click "Edit".
3. Find and select the blue option in the picture, click "OK" or "Apply", and then close the interface.
4. Then right-click the file again and find "Properties"->"Security"->"Advanced"
5. Then click "Change Permissions" on the "Permissions" page.
#6. Uncheck "Include permissions that can be inherited from this object's parent".
7. Then click "Edit", click the check mark under "Allow", and click "OK". At this point the file is ready to be deleted~
The above is the detailed content of What should I do if I need to be an administrator to delete files?. For more information, please follow other related articles on the PHP Chinese website!