Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

You require permission from "Myself" to delete folder - how to fix [closed]

I'm trying to delete a folder as an administrator, but I get the message "You require permission from UserAdam to delete folder". The problem is, I am logged on as UserAdam! I've tried changing the owner to Administrator to no avail also.

like image 323
acernine Avatar asked May 03 '17 18:05

acernine


People also ask

How do you fix you need permission to access this folder?

Right-click the file or folder, and then click Properties. Click the Security tab. Under Group or user names, click your name to see the permissions that you have. Click Edit, click your name, select the check boxes for the permissions that you must have, and then click OK.

How do I fix I need permission to perform this action on delete?

Solutions to “You Need Permission to Perform This Action” If the system tells you that you don't have permission to access a file or folder, you should try these solutions to fix the access denied error. Change the owner of target file or folder. Change the security permissions. Run an SFC scan.


3 Answers

I ran into the same problem: tried to delete a folder (as admin), but got an error message "You need permissions from MYCOMPUTER\Admin ..." Somehow this worked:

I just went into the folder and deleted everything inside. Now when I try to delete the folder, it works fine.

Not sure why, but it seems like you found a similar solution. However, there's no need to use FileAssassin, just simply highlight the folder contents and delete like normal.

like image 90
Miatrix Avatar answered Oct 03 '22 22:10

Miatrix


I had the same problem, and I found a fairly simple fix that hasn't been mentioned yet and probably has the best chance of working.

Simply give full access to "Everyone" in the file's properties, then delete it right after.

To change the file's access, as administrator: open the context menu and go Properties -> Security -> Advanced. This should bring up a new window that lists multiple users and their access to the file/folder, specifically Everyone. Select Everyone and click edit. In the following menu, select Full Control, then click OK.

The file should now be accessible to everyone- including you- allowing it to be deleted.

like image 40
Kein Avatar answered Oct 04 '22 00:10

Kein


This worked for me:

  1. Open command prompt as administrator
  2. Execute rd /S /Q "P:\Ath\To\Directory"

I got no error and my folder was succesfully deleted.

like image 43
kwyntes Avatar answered Oct 03 '22 23:10

kwyntes