Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Permissions problem with bitvise ssh server #1

Closed
pinpox opened this issue Jan 12, 2016 · 3 comments
Closed

Permissions problem with bitvise ssh server #1

pinpox opened this issue Jan 12, 2016 · 3 comments

Comments

@pinpox
Copy link

pinpox commented Jan 12, 2016

Hi,

I cant edit files mounted over ssh from a bitvise sever. I tried a lot of combinations of options (uid, giud, idmap, allow_other) and can't get it right.

  • Read Access works
  • Deleting Files works
  • Creating files works
  • Editing (in vim) gives an permission error upon save.

Is this a bug or config problem?

@Nikratio
Copy link
Contributor

What specific operation is causing the error? For example, does the following work?

# python 
fh = open('mountpoint/test_file', 'rb+')
fh.write(b'bla')
fh.close()
^D

@pinpox
Copy link
Author

pinpox commented Jan 12, 2016

Nevermind, I found the problem. BItvise SSH server logs the users in using "Virtual Accounts" not the default windows accounts. That's why my user could write the files on the system itself but not through ssh.

@Lillecarl
Copy link

For anyone googling BitWise SSH problems and ending up here.
https://www.bitvise.com/getting-started-config-sftp-scp
When you set up BitWise Virtual Users it'll create a Windows user called BvSsh_VirtualUsers and use it as security context for writing files, which means you must grant write access for that user on the directories you you set as Root Directory.

-bvshell: Root path on the server doesn't exist. Please check SSH Server configuration.
^ SEO 2.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants