Reading Share rights Failed to read Share permissions. Directory does not exist.

Hi,

do you know where can be the problem when I run Analyze of a domain user and folder the error is occured:

7/18/2012 10:53:11 [17] DEBUG FileRights Getting effective entries

07/18/2012 10:53:11 [17] DEBUG FileRights effective entry: KOMPAN-DK\UK Project: : AppendData, CreateDirectories, CreateFiles, Delete, ExecuteFile, ListDirectory, Modify, Read, ReadAndExecute, ReadAttributes, ReadData, ReadExtendedAttributes, ReadPermissions, Synchronize, Traverse, Write, WriteAttributes, WriteData, WriteExtendedAttributes

07/18/2012 10:53:11 [17] DEBUG FileRights Merging

07/18/2012 10:53:11 [17] DEBUG FileRights Returning ShareSecurityItem <empty>: AppendData, CreateDirectories, CreateFiles, Delete, ExecuteFile, ListDirectory, Modify, Read, ReadAndExecute, ReadAttributes, ReadData, ReadExtendedAttributes, ReadPermissions, Synchronize, Traverse, Write, WriteAttributes, WriteData, WriteExtendedAttributes

07/18/2012 10:53:11 [01] INFO  Progress

07/18/2012 10:53:11 [01] INFO  Progress Reading Share rights

07/18/2012 10:53:11 [17] DEBUG MainWindow Impersonating for GetShareRights Domain='DOMAIN' and username='user'.

07/18/2012 10:53:11 [17] DEBUG ShareRights Creating instance for path '\\name_of_the_server\Company Projects\'

07/18/2012 10:53:11 [17] DEBUG ShareRights Opening remote registry on machine name_of_the_server

07/18/2012 10:53:12 [17] DEBUG ShareRights Getting security descriptor

07/18/2012 10:53:25 [17] ERROR ShareRights Exception: System.IO.DirectoryNotFoundException: Attempted to access a path that is not on the disk.

   at EpReader.FileRights.ShareRights.GetShareRights(Logging log, String fullShareName, IActiveDirectoryHelper adHelper)

07/18/2012 10:53:25 [17] ERROR MainWindow System.IO.DirectoryNotFoundException: Attempted to access a path that is not on the disk.

   at EpReader.FileRights.ShareRights.GetShareRights(Logging log, String fullShareName, IActiveDirectoryHelper adHelper)

   at EpReader.MainWindow.<>c__DisplayClass10.<PerformAnalysis>b__9()

07/18/2012 10:53:25 [01] INFO  Progress Failed to read Share permissions. Directory does not exist.

07/18/2012 10:53:25 [01] INFO  Progress

07/18/2012 10:53:25 [01] INFO  Progress Merging results

07/18/2012 10:53:25 [01] INFO  Progress

07/18/2012 10:53:25 [01] INFO  Progress Finished.

07/18/2012 10:53:25 [17] DEBUG MainWindow Membership cache deleted.

The output of NTFS rights I can see properly...

Remote Registry Service on a target machine is running automaticaly.

Thank you for help.

Parents
  • The application failed to read the security descriptor for the shared folder that is stored in the registry on the remote machine. It tried to open "HKLM\System\CurrentControlSet\Services\LanManserver\Shares\Security" key. In this key, it was looking for REG_BINARY value with name equal to the share name ("Company Projects"). Based on the log, I can assume either the key or the value does not exist, which may be caused by the fact the folder is actually not shared via standard Windows folder sharing.

Reply
  • The application failed to read the security descriptor for the shared folder that is stored in the registry on the remote machine. It tried to open "HKLM\System\CurrentControlSet\Services\LanManserver\Shares\Security" key. In this key, it was looking for REG_BINARY value with name equal to the share name ("Company Projects"). Based on the log, I can assume either the key or the value does not exist, which may be caused by the fact the folder is actually not shared via standard Windows folder sharing.

Children
No Data