|
@@ -48,7 +48,7 @@ public class DokanyVolume implements Volume {
|
|
|
Path mountPath = getMountPoint();
|
|
|
String mountName = vaultSettings.mountName().get();
|
|
|
try {
|
|
|
- this.mount = mountFactory.mount(fs.getPath("/"), mountPath, mountName, FS_TYPE_NAME, mountFlags);
|
|
|
+ this.mount = mountFactory.mount(fs.getPath("/"), mountPath, mountName, FS_TYPE_NAME, mountFlags.strip());
|
|
|
} catch (MountFailedException e) {
|
|
|
if (vaultSettings.getIndividualMountPath().isPresent()) {
|
|
|
LOG.warn("Failed to mount vault into {}. Is this directory currently accessed by another process (e.g. Windows Explorer)?", mountPath);
|