LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 08-17-2006, 08:11 AM   #1
cgraf
LQ Newbie
 
Registered: Sep 2003
Posts: 17

Rep: Reputation: 0
sshfs mounting read-only


I can mount a remote directory on an ssh server using:

sshfs user@host:/u/myhome /home/myhome


however, I would like to mount it read-only. I can not find the relevant options either in the fuse or sshfs docs.


Chris.
 
Old 08-18-2006, 03:58 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
Looking at the help information:
Code:
rossy - trigger - Fri Aug 18 20:58:09
~> sshfs --help 2>&1 | grep umask
    -o umask=M             set file permissions (octal)
 
  


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
file permissions and sshfs baddah Linux - Security 3 07-11-2006 04:33 AM
Using Knock with sshfs (fish) pAn1k Linux - Networking 0 07-10-2006 01:34 AM
sshfs reports invalid free space on remote machine +Yan Linux - Networking 2 04-10-2006 06:37 AM
Anyone using Slackware and SSHFS? JockVSJock Slackware 6 12-20-2005 06:22 AM
shared filesystem crap: shfs, sshfs, lufs, fuse whansard Linux - Networking 1 06-26-2005 08:58 PM

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

All times are GMT -5. The time now is 09:07 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