How do you reapply ACLs to recoved files

A forum on data recovery using the professional data recovery software R-STUDIO.
zktech
Posts: 1
Joined: Tue Sep 25, 2018 8:44 am

How do you reapply ACLs to recoved files

Post by zktech » Tue Sep 25, 2018 8:50 am

We have recovered some files and folders with the ACLs' . The recovery created some files with extensions .posix_acl_access, posix_acl_default, and system.NTACL

How do we apply these back to the folders and files?

Thanks for any insights.

Alt
Site Moderator
Posts: 2400
Joined: Tue Nov 11, 2008 2:13 pm
Contact:

Re: How do you reapply ACLs to recoved files

Post by Alt » Tue Sep 25, 2018 12:09 pm

Looks like you saved recovered files from a Linux/Unix file system to an NTFS disks. Had you done it to the same file system, you wouldn't have had this problem.
Now you can use the setfattr command to restore those attributes to the files copied to the disks with the original file system. You need to create a batch file that reads the values from a .file and then assigns them to each file.

Post Reply