Quantcast
Channel: Prevent writing to unmounted sshfs mount point - Server Fault
Browsing all 3 articles
Browse latest View live

Answer by Cameron Sanders for Prevent writing to unmounted sshfs mount point

I got this to work with chattr +i by use of the IdentityFile option in sshfs. For this to work you will need to generate and add your keys to the remote host. ssh-keygen && ssh-copy-id...

View Article



Answer by Aaron for Prevent writing to unmounted sshfs mount point

Mount point default permissions Create the mountpoint with mkdir --mode=0500 -p /mnt/mountpoint Only the creating user will be able to write to it. You could pre-populate this from rc.local. When you...

View Article

Prevent writing to unmounted sshfs mount point

Assuming I have a folder /mnt/mountpoint that I use as a mountpoint for some sshfs-mounted directory: sshfs user@host /mnt/mountpoint Now, I want to prevent applications to write to /mnt/mountpoint...

View Article
Browsing all 3 articles
Browse latest View live




Latest Images