【问题标题】:encfs does not mount folderencfs 不挂载文件夹
【发布时间】:2021-03-31 13:48:20
【问题描述】:

我已经安装了 encfs 来加密我的目录和文件,并且当我安装 encfs 并对其进行配置时一切正常。我创建了两个文件夹,一个是/XDM/game,第二个是/Private,当encfs 工作时,我必须将我的文件复制到/Private 文件夹中,这会将所有这些文件的加密版本与/XDM/game 同步。但是当我重新启动我的电脑时,我必须重新安装 /Private 文件夹,因为我正在使用以下命令 -

encfs ~/XDM/game ~/Private

但它返回给我这个错误 -

encfs ~/XDM/game* ~/Private
EncFS Password: 
fuse: mountpoint is not empty
fuse: if you are sure this is safe, use the 'nonempty' mount option
fuse failed.  Common problems:
 - fuse kernel module not installed (modprobe fuse)
 - invalid options -- see usage message

请帮我解决这个错误。提前谢谢你!!!

【问题讨论】:

    标签: file encryption directory mount


    【解决方案1】:

    简短的回答是'为了安装目录,您需要从/Private 文件夹中删除文件并尝试再次安装

    encfs `~/XDM/game ~/Private`'
    

    答案很长,在重新启动计算机后配置 encfs 后,您可以看到您的文件夹 /Private 为空并显示您必须挂载文件夹的文件,但是如果您复制 /Private 文件夹中的任何文件然后尝试mount 那么它会给你这个错误。因此,请先删除您在重新启动计算机后粘贴/创建的文件,然后再安装。它应该工作!

    我写了一篇详细的文章来帮助你更好地理解。

    http://www.linuxandubuntu.com/home/how-to-encrypt-cloud-storage-files-folders-in-linux

    【讨论】:

      【解决方案2】:

      当我不小心尝试写入加密目录时,我陷入了类似的情况。通过这样做解决了它

      encfs -o nonempty <encryptedDirPath> <decryptedDirMountPoint>
      

      不过,使用“非空”选项会产生一些影响。 More here.

      如果您在执行上述操作后无法卸载解密的目录,您可能需要从 Gnome Encfs Manager 中删除您的存储条目,以防您正在使用它。

      【讨论】:

        【解决方案3】:

        我遇到了同样的问题,它说挂载点忙或不为空。所以,我创建了另一个目录。在你的情况下,你可以做mkdir ~/Private2。然后,只需将其视为您的新挂载点。 encfs ~/XDM/game ~/Private2.

        【讨论】:

          猜你喜欢
          • 1970-01-01
          • 2019-04-10
          • 2020-02-06
          • 2014-01-12
          • 2019-07-20
          • 2016-05-31
          • 2019-08-31
          • 2016-09-18
          • 2021-06-03
          相关资源
          最近更新 更多