diff --git a/src/cryfs/impl/localstate/BasedirMetadata.cpp b/src/cryfs/impl/localstate/BasedirMetadata.cpp index 769de2ea..d549c3f0 100644 --- a/src/cryfs/impl/localstate/BasedirMetadata.cpp +++ b/src/cryfs/impl/localstate/BasedirMetadata.cpp @@ -44,7 +44,7 @@ void _save(const bf::path &metadataFilePath, const ptree& data) { } string jsonPathForBasedir(const bf::path &basedir) { - return bf::canonical(basedir).string() + ".filesystemId"; + return bf::absolute(basedir).lexically_normal().string() + ".filesystemId"; } }