This commit is contained in:
parent
8018ce51a0
commit
9da78b82f3
@ -986,6 +986,8 @@ auto remote_server::winfsp_create(PWSTR file_name, UINT32 create_options,
|
||||
{utils::string::to_utf8(file_name)}))
|
||||
.exists());
|
||||
|
||||
std::cout << "ATTRIBUTES: " << std::hex << attributes << std::endl;
|
||||
|
||||
attributes |= FILE_FLAG_BACKUP_SEMANTICS;
|
||||
if ((create_options & FILE_DIRECTORY_FILE) != 0U) {
|
||||
attributes |= FILE_FLAG_POSIX_SEMANTICS;
|
||||
|
@ -129,6 +129,8 @@ auto remote_winfsp_drive::Create(PWSTR file_name, UINT32 create_options,
|
||||
UINT64 allocation_size, PVOID * /*file_node*/,
|
||||
PVOID *file_desc, OpenFileInfo *ofi)
|
||||
-> NTSTATUS {
|
||||
std::cout << "ATTRIBUTES: " << std::hex << attributes << std::endl;
|
||||
|
||||
remote::file_info fi{};
|
||||
std::string normalized_name;
|
||||
BOOLEAN exists = 0;
|
||||
|
@ -241,6 +241,7 @@ protected:
|
||||
}
|
||||
|
||||
static void execute_unmount(auto args, auto location) {
|
||||
std::this_thread::sleep_for(30s);
|
||||
auto unmounted{false};
|
||||
|
||||
auto unmount_cmd =
|
||||
|
Loading…
x
Reference in New Issue
Block a user