• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

sshfs questions

Red Squirrel

No Lifer
By default when I mount a sshfs share, it writes files with permissions of rw-r-r on the remote server. Is there a way to change this? I need it to be rwx-rwx---.

Also is there a way to mount a sshfs share in windows? Only way I can think of is setup a linux vm then mount the share through samba. Is there an easier way?
 
Think I found something. I have to put umask=002. I figured it would of been like 770 or something but whatever works.

now is there a way to mount a drive right in windows?
 
Umask is the exact opposite of the permissions you want the file to have.

So you take the umax and subtract it from 7 for the bit and you have your real permission.

umask 002 is saying

default permssion 777
umask 002
--------------------------
new permission 775 or -rwxrwxr-x

I think you really want 007

You need to setup samba to mount easily in windows.
 
this (oldish) thread
has some ideas

novel netdrive may do it, if you can find it. winscp may work if you can use sftp/scp instead of requiring a sshfs mount *shrug*

theres even a link to doing something in vmware. im not reading it, but i _guess_ it suggests to run a linux vm in windows to mount the sshfs drive, and then *share* that via samba so windows can get to it.
 
Back
Top