LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 01-26-2014, 05:04 AM   #1
NotAComputerGuy
Member
 
Registered: Jun 2012
Distribution: Linux Mint - Debian Edition
Posts: 348

Rep: Reputation: 13
SSH, fstab and encfs


I'm using fstab to mount a sshfs folder, which it does but I don't have the permissions to view it.

Code:
drwxr-xr-x  1 user user      4096 Jan 25 14:12 .secret
Code:
ls .secret
ls: cannot access .secret: Permission denied

Last edited by NotAComputerGuy; 01-26-2014 at 05:50 AM.
 
Old 01-26-2014, 07:10 AM   #2
NotAComputerGuy
Member
 
Registered: Jun 2012
Distribution: Linux Mint - Debian Edition
Posts: 348

Original Poster
Rep: Reputation: 13
Solved by adding a bit more to my fstab:
Code:
sshfs#user@192.168.168.4:/media/Backup/ /home/user/.secret fuse defaults,nonempty,idmap=user,user,uid=1000,gid=1000,allow_other,IdentityFile=/home/user/.ssh/id_rsa 0 0
 
  


Reply


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
[SOLVED] EncFS failure (NFS export of a reverse encfs mount) Skaperen Linux - Software 2 04-29-2011 02:51 PM
encfs not working all the way Skaperen Linux - Software 5 04-25-2011 12:16 PM
Encfs on current brixtoncalling Slackware 5 05-15-2010 11:54 PM
EncFS and fuse EdoardoC MEPIS 0 05-26-2005 12:33 PM
ENCFS with SAMBA PAB Linux - Security 1 04-21-2005 07:38 AM


All times are GMT -5. The time now is 02:58 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration