安装eCryptfs时出错:[ - 13]权限被拒绝 - Amazon Linux AMI

时间:2016-02-18 03:57:37

标签: linux encryption ecryptfs

我正在尝试加密某处的目录 /家庭/ balab /有效载荷/巴拉/ 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>
&#13;
&#13;
&#13;

0 个答案:

没有答案