EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Mount point not accessible

Also by EldoS: SecureBlackbox
200+ components and classes for digital security, signing, encryption and secure networking.
#32392
Posted: 02/27/2015 18:04:59
by Mike Christopher (Standard support level)
Joined: 03/03/2014
Posts: 2

I'm running a Windows Service as SYSTEM that creates a mount with the following:

StorageType = stDiskPnP;
StorageCharacteristics = scReadOnlyDevice
MountPoint = "c:\apps"
Flags = CBFS_SYMLINK_MOUNT_MANAGER

It works fine for the most part, but I've got an application in user-space that's unable to see a file on the disk.

When I run the application with Process Monitor, I get the following:

Code
QueryNetworkOpenInformationFile   C:\apps   SUCCESS   CreationTime: 10/25/2014 10:06:30 PM, LastAccessTime: 10/25/2014 10:06:30 PM, LastWriteTime: 10/25/2014 10:06:30 PM, ChangeTime: 2/27/2015 11:55:08 PM, AllocationSize: 1/1/1601 12:00:00 AM, EndOfFile: 1/1/1601 12:00:00 AM, FileAttributes: HDRP
CloseFile   C:\apps   SUCCESS   
CreateFile   C:\apps\89a7f99ab0064c7ab1f157f48a60f315\   REPARSE   Desired Access: Read Data/List Directory, Synchronize, Disposition: Open, Options: Directory, Synchronous IO Non-Alert, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a, OpenResult: <unknown>
CreateFile   \Device\HarddiskVolume4\89A7F99AB0064C7AB1F157F48A60F315   SUCCESS   Desired Access: Read Data/List Directory, Synchronize, Disposition: Open, Options: Directory, Synchronous IO Non-Alert, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a, OpenResult: Opened
QueryDirectory   \Device\HarddiskVolume4\89A7F99AB0064C7AB1F157F48A60F315\octane.exe   NO SUCH FILE   Filter: octane.exe
CloseFile   \Device\HarddiskVolume4\89A7F99AB0064C7AB1F157F48A60F315   SUCCESS   


Any ideas?
#32397
Posted: 02/28/2015 05:34:52
by Volodymyr Zinin (EldoS Corp.)

Try to use scRemovable instead of scReadOnlyDevice. Is the problem still reproducible?
Also check whether the OnEnumerateDirectory callback comes with the mask "octane.exe" and if so what is a result of this operation.

In order to have more detailed Process Monitor logs mark the menu item "Filter"->"Enable Advanced Output".

Thanks.
#32427
Posted: 03/02/2015 20:49:23
by Mike Christopher (Standard support level)
Joined: 03/03/2014
Posts: 2

After looking at the code we're using to handle OnEnumerateDirectory, I figured out that we had an issue with case-sensitive comparisons on a non-CS drive. Once I corrected that, everything appears to be working.

Thanks!

Reply

Statistics

Topic viewed 1821 times

Number of guests: 1, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!