Skip to content

Commit

Permalink
Temporarily satisfy issue #51 to prepare for stable release
Browse files Browse the repository at this point in the history
Dokany v1.0.0-stable does not offer a fix for this
  Wait for potential fix in next release
  • Loading branch information
jetwhiz committed Sep 21, 2016
1 parent afc5733 commit 383ac95
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ For more info, see:
- The excellent [encfs manpage](encfs/encfs.pod)
- The technical overview in [DESIGN.md](DESIGN.md)

**NOTE:** *Be sure to use a drive (like "X:") as plain_dir to avoid case sensitive problems which results in file/folder not found problems!*

## Installing

Installation is as simple as a few clicks! Simply download the latest encfs4win installer from [encfs4win/releases](https://github.com/jetwhiz/encfs4win/releases) (encfs4win-installer.exe) and run it.
Expand Down
7 changes: 7 additions & 0 deletions encfs/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -506,6 +506,13 @@ static bool processArgs(int argc, char *argv[],
// fill in mount path for fuse
out->fuseArgv[1] = out->opts->mountPoint.c_str();

// Temporary fix (hopefully) for issue #51
// Must mount to drive letter, otherwise there are case-sensitivity issues
if (!out->opts->mountPoint.empty() && out->opts->mountPoint.back() != ':')
{
RLOG(WARNING) << "Caution: Mount directly to a drive letter (e.g., X:) to prevent file/folder not found issues!";
}

return true;
}

Expand Down

0 comments on commit 383ac95

Please sign in to comment.