Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-22-2016, 12:51 PM   #1
Registered: Feb 2004
Location: US / EU
Distribution: Fedora 20
Posts: 180

Rep: Reputation: 19
Cannot access locally-mounted remote EcryptFs folder

I'm at a loss for how to unencrypt a locally-mounted but remotely stored EcryptFS. I have never had this issue with EncFS, so I must be doing something wrong with syntax, but just cannot get this right. My goal:
1. Encrypted data is stored on remote computer in folder 1
2. Folder 1 is mounted locally as local Folder A.
3. EcryptFS then decrypts and mounts that as local Folder B
4. Be able to decrypt it on remote computer and local computer
I'm fine up to #3 - I just cannot get it to work. Whenever I run ecryptfs (command 2), I'm prompted to create the volume - it does not unencrypt the locally-mounted encrypted folder. Note that I'm trying to use this for backup purposes (rsync).

sshfs -o "IdentityFile=~/SSH_keys/<key>" -p 400 /home/username/Backup/EncryptedFolder

sudo mount -t ecryptfs /home/username/Backup/EncryptedFolder /home/username/Backup/DecryptedFolder
Thanks for any help!!
Old 10-23-2016, 10:20 AM   #2
Registered: Mar 2008
Location: NRW, Germany
Distribution: Arch Linux, using KDE/Plasma
Posts: 392

Rep: Reputation: 49
Step 3 / command 2 needs the associated folders to be accessible by root. My only guess at the moment.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Home Folder Encryption with ecryptfs imayneed Linux - Software 3 09-24-2012 05:05 PM
Able to access the mounted folder though the actual folder is moved VGM Linux - Networking 2 09-16-2010 12:10 PM
Access file after FS mounted on parent folder mslootweg Linux - Software 2 10-12-2009 06:28 AM
Apache access to mounted folder pancakes Linux - Server 2 04-13-2009 12:53 PM
Remote samba folder Access over Internet tekyd Linux - Networking 4 06-02-2006 01:50 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:42 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration