winfsp / winfsp/sshfs-win

sshfs: invalid argument `create_file_umask=0644'

Open
#461 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
6.4k
Forks
315
PR merge metrics
No merged PRs in 30d

Description

Hello,
I can't seem to get the write permissions to be octal to be 0644 when creating new files. I try using this command:

"C:\Program Files\SSHFS-Win\bin\sshfs-win.exe" svc \sshfs.r\user@[REDACTED] N: -o create_file_umask=0644

But for some reason, it gives me this error for some reason:
sshfs: invalid argument `create_file_umask=0644'

I've tried putting the binary in the %PATH%, but it still didn't work
Please help me, I need it to be the right permissions because my website won't work for some reason.
Thanks! ^_^

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the reported sshfs-win.exe command and reproduce the invalid-argument response for create_file_umask=0644. Trace how this command-line option is parsed and determine whether the option is supported; done means the documented behavior matches the command's result. No source file or test is named in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.