You need permission to perform this action

Restored some data from NAS after ransomware on a server data drive.

Some folders are fine but others have restored but wont allow me now to edit files / write or delete in the folders.

Despite taking ownership etc still get above message with
"You need permission to perform this action - You require permission from domainname\administrator to make changes to this file"   - I am logged in as administrator - have tried different accounts - adding everyone to security aswell.

I appreciate its best to reinstall after ransomware but this is just short term.
matmosAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

systechSenior Technical LeadCommented:
Hi,

It's definitely permission issue. When you add everyone with full permission, you need to also select "Replace all child object permission entries with inheritable permission entries from this object"

So, that the subfolders too get access from within the root folder. Also, go to advanced and make sure domain\administrator is the owner which got full permissions.

If everyone didn't work, try with "Authenticated Users" and see if it works?
David FavorLinux/LXD/WordPress/Hosting SavantCommented:
Windoze has a bizarre permission system.

Sometimes the best way to fix this is to connect the drives to a Linux machine + do permission resets.

I suspect if you dig deep enough into the docs, you'll find some of the special permissions have been set.

https://msdn.microsoft.com/en-us/library/bb727008.aspx lists all the permissions.

Pick one directory + file + record all permissions + then start making changes.

Best to only make one change at a time + retest. When you figure out which permission bit is set which is causing you problems, then you can determine best fix this globally.

Some people erroneously start mucking around, setting + desetting random bits, looking for a solution.

This can seriously munge up permissions required to be on certain files for certain purposes.

Resist the urge. Change one setting + retest, will save you much grief in the end.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Seth SimmonsSr. Systems AdministratorCommented:
No comment has been added to this question in more than 21 days, so it is now classified as abandoned.

I have recommended this question be closed as follows:

Accept: David Favor (https:#a42316732)

If you feel this question should be closed differently, post an objection and the moderators will review all objections and close it as they feel fit. If no one objects, this question will be closed automatically the way described above.

seth2740
Experts-Exchange Cleanup Volunteer
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Ransomware

From novice to tech pro — start learning today.