LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-25-2017, 11:32 AM   #1
schnappi
Member
 
Registered: Apr 2017
Posts: 52

Rep: Reputation: 3
gocryptfs installaton


EncFS (http://www.arg0.net/encfs) is awesome. Security issues are fine for purposes needed but problem is file name limit (about 190). CryFS (https://www.cryfs.org/) solves file name limit and is great too (not to mention hides file names and directory structure). However have found that when browsing folders with lots of directories and files the performance can be difficult.

So want to give gocryptfs (https://nuetzlich.net/gocryptfs/) a try and test speed. It's probably a little less secure than CryFS but faster. No package available for distribution so followed instructions here to install: https://nuetzlich.net/gocryptfs/quickstart/

Got stuck at "Download the corresponding binary and extract the archive into /bin." Downloaded gocryptfs_v1.2.1_debian8_amd64.tar.gz and extracted to /bin but running

Code:
/bin/gocryptfs -version
doesn't print the string like instructions says it will on success. Am I missing something (running some kind of bash file?) to install gocryptfs?
 
Old 04-25-2017, 01:19 PM   #2
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 20 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918
Hi schnappi.

It is ~/bin (i.e. the bin directory in your home directory) that you want to be extracting the archive to, not /bin.

See if that makes a difference.
 
Old 04-25-2017, 03:46 PM   #3
schnappi
Member
 
Registered: Apr 2017
Posts: 52

Original Poster
Rep: Reputation: 3
Extracted the files to /home/bin but still not having any luck. Feel like am totally missing something.
 
Old 04-25-2017, 04:02 PM   #4
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 20 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918
There are probably other issues to resolve as well, but it shouldn't be /home/bin either, it should be ~/bin, which equates to e.g. /home/schnappi/bin, replacing schnappi with whatever your username is.

Which distro (and version) are you running? 32-bit or 64-bit?
 
Old 04-25-2017, 04:07 PM   #5
schnappi
Member
 
Registered: Apr 2017
Posts: 52

Original Poster
Rep: Reputation: 3
/home/user/bin is what was meant. It's a Ubuntu 16.04 32-bit server and the package is only available in repository for 17.04. Might just reach out to gocryptfs on GitHub or compile from source (first time ever that compiling from source is the easier way to install something).

Last edited by schnappi; 04-25-2017 at 04:15 PM.
 
Old 04-25-2017, 04:49 PM   #6
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 20 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918
Just for info, the 17.04 deb installs correctly on my Mint 18.1 system (equivalent of 16.04).

However, running gocryptfs -version only returns gocryptfs with no version info. I assume that this is what you have been experiencing as well.
 
Old 05-11-2017, 01:26 PM   #7
schnappi
Member
 
Registered: Apr 2017
Posts: 52

Original Poster
Rep: Reputation: 3
Figured it out.

Code:
cd /directory
&
Code:
./gocryptfs
or

Code:
/full-directory/gocryptfs
Can't just run "gocryptfs" alone (or any script) from current directory.
 
Old 05-11-2017, 03:23 PM   #8
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.8.2003
Posts: 5,442

Rep: Reputation: 2070Reputation: 2070Reputation: 2070Reputation: 2070Reputation: 2070Reputation: 2070Reputation: 2070Reputation: 2070Reputation: 2070Reputation: 2070Reputation: 2070
Quote:
Originally Posted by schnappi View Post
Can't just run "gocryptfs" alone (or any script) from current directory.
That's probably because the current directory isn't in $PATH for the session or script.

Even if installed in ~/bin as suggested by hydrurga, it is unlikely that directory would be in $PATH either by default.
Of course, it could always be added...
 
1 members found this post helpful.
Old 05-25-2017, 07:36 PM   #9
schnappi
Member
 
Registered: Apr 2017
Posts: 52

Original Poster
Rep: Reputation: 3
@scasey How can one set the "$path" for any given session or script so one doesn't need to use "./"? Just wondering.

Last edited by schnappi; 05-25-2017 at 07:37 PM.
 
  


Reply

Tags
encfs


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
LXer: SiriKali GUI Front End To Manage ecryptfs, cryfs, gocryptfs, securefs and encfs Encrypted Folders LXer Syndicated Linux News 0 03-02-2017 07:33 AM
AOL installaton problem? bobba.surendra Linux - Software 4 01-03-2011 09:23 PM
post installaton problem mzansary Slackware 3 03-06-2006 12:08 PM
Remote installaton hansi umayangan General 1 03-20-2005 06:57 AM
Clam Antivius Installaton admore Linux - Software 4 10-22-2004 02:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:53 PM.

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