Issue
This Content is from SuperUser. Question asked by Dominique
I’m dealing with two directories, the one being the parent of the other (but that’s irrelevant for the question). I want to read the files in one directory, using an application, but that seems not to work. According to the Powershell
Get-Acl
command, that can easily be explained:
Prompt> Get-Acl -All C:Temp_FolderDecompile
...
Path Owner Access
---- ----- ------
Decompile DomainMyUser APPLICATION PACKAGE AUTHORITYALL APPLICATION PACKAGES Allow Write, Read, Synchronize...
Prompt> Get-Acl -All C:Temp_FolderDecompileCustomer_Logs
...
Path Owner Access
---- ----- ------
Customer_Logs DomainMyUser NT AUTHORITYSYSTEM Allow FullControl...
As you can see, I have full control over the directory “C:Temp_FolderDecompileCustomer_Logs” while the permissions on the directory “C:Temp_FolderDecompile” are limited.
However, the problem is just the opposite: I can see everything in the “C:Temp_FolderDecompile” directory, while I see nothing in the “C:Temp_FolderDecompileCustomer_Logs” directory.
- How is this possible?
- Is there a way to copy the file permissions from one directory to another one? (I didn’t see such an option in the Powershell
Set-Acl
command)
Oh, my application is Microsoft Server Management Studio, version v18.12. I’m trying to restore a backup and I can’t seem to find it in its directory.
Solution
This question is not yet answered, be the first one who answer using the comment. Later the confirmed answer will be published as the solution.
This Question and Answer are collected from SuperUser , is licensed under the terms of CC BY-SA 2.5. - CC BY-SA 3.0. - CC BY-SA 4.0.