You are not logged in.
Pages: 1
I am trying to setup a Private directory within a home folder. I am using this documentation: https://wiki.archlinux.org/index.php/Sy … h_eCryptfs
I did this after installing ecryptfs-utils:
[root@ARCH306 ~]# modprobe ecryptfs
[root@ARCH306 ~]# mkdir -m 700 /home/whoop/.Private
[root@ARCH306 ~]# mkdir -m 500 /home/whoop/Private
[root@ARCH306 ~]# chown whoop:users /home/whoop/{.Private,Private}
[root@ARCH306 ~]# mount -t ecryptfs /home/whoop/.Private /home/whoop/Private
Select key type to use for newly created files:
1) passphrase
2) openssl
Selection: 1
Passphrase:
Select cipher:
1) aes: blocksize = 16; min keysize = 16; max keysize = 32 (not loaded)
2) des3_ede: blocksize = 8; min keysize = 24; max keysize = 24 (not loaded)
3) cast6: blocksize = 16; min keysize = 16; max keysize = 32 (not loaded)
4) cast5: blocksize = 8; min keysize = 5; max keysize = 16 (not loaded)
Selection [aes]: 1
Select key bytes:
1) 16
2) 32
3) 24
Selection [16]: 1
Enable plaintext passthrough (y/n) [n]: n
Enable filename encryption (y/n) [n]: y
Filename Encryption Key (FNEK) Signature [XXXXXXXXXXXXX]:
Attempting to mount with the following options:
ecryptfs_unlink_sigs
ecryptfs_fnek_sig=XXXXXXXXXXXXX
ecryptfs_key_bytes=16
ecryptfs_cipher=aes
ecryptfs_sig=XXXXXXXXXXXXX
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 [XXXXXXXXXXXXX] 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: [-5] Input/output error
Check your system logs; visit <http://launchpad.net/ecryptfs>As you can see I get a Error mounting eCryptfs: [-5] Input/output error but it seems to be mounting anyway. I put a testfile in there then 'umount /home/whoop/Private'. I found some encrypted files in /home/whoop/.Private when I remounted using: 'mount -t ecryptfs /home/whoop/.Private /home/whoop/Private' I got the same error again.
/var/log/everything.log shows this info:
Apr 3 17:18:56 localhost mount.ecryptfs: Failed to write to the mount table
Apr 3 17:29:23 localhost mount.ecryptfs: Failed to write to the mount table
Last edited by whoop (2012-04-03 15:36:54)
Offline
I believe it's due to /etc/mtab being a symlink in Arch these days. There's a report on the bugtracker with more information, I think it should've already been solved in ecryptfs-utils.
You need to install an RTFM interface.
Offline
Thanks for the info.
I don't think it has been fixed as this was just performed on a fresh installed machine...
Offline
Whoop,
In case you are wondering where your first post went... You hit the report link, not the reply link. It happens ![]()
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
Whoop,
In case you are wondering where your first post went... You hit the report link, not the reply link. It happens
Only for a moment ![]()
Offline
Pages: 1