我正在尝试加密/home/balab/payload/bala/encrypt_data中的某个目录
cd /home/balab/payload/bala
从这里我点击以下命令加密
sudo mount -t ecryptfs ./encrypt_data ./encrypt_data
最后我得到了
“安装eCryptfs时出错:[-13]权限被拒绝”
$sudo mount -t ecryptfs ./encrypt_data ./encrypt_data
Select key type to use for newly created files:
1) openssl
2) passphrase
Selection: 2
Passphrase:
Select cipher:
1) aes: blocksize = 16; min keysize = 16; max keysize = 32 (loaded)
2) des3_ede: blocksize = 8; min keysize = 24; max keysize = 24 (not loaded)
Selection [aes]: aes
Select key bytes:
1) 16
2) 32
3) 24
Selection [16]: 16
Enable plaintext passthrough (y/n) [n]: n
Enable filename encryption (y/n) [n]: n
Attempting to mount with the following options:
ecryptfs_unlink_sigs
ecryptfs_key_bytes=16
ecryptfs_cipher=aes
ecryptfs_sig=2f14d8d2187bd785
WARNING: Based on the contents of [/root/.ecryptfs/sig-cache.txt],
it looks like you have never mounted with this key
before. This could mean that you have typed your
passphrase wrong.
Would you like to proceed with the mount (yes/no)? : yes
Would you like to append sig [2f14d8d2187bd785] to
[/root/.ecryptfs/sig-cache.txt]
in order to avoid this warning in the future (yes/no)? : yes
Successfully appended new sig to user sig cache file
Error mounting eCryptfs: [-13] Permission denied
Check your system logs; visit <http://launchpad.net/ecryptfs>
1条答案
按热度按时间axzmvihb1#
我也有同样的错误,但使用非完整路径对我来说是有效的。
而不是