On 2014-08-03 20:05, Carsten Kunze wrote:
Hello,
I am using OpenBSD as guest on a Linux host.
For accessing the host filesystems I've tried to use
sshfs(1) as a non-root user. I've created a directory
and typed:
$ sshfs <IP address>:/ <directory>
The output is:
fuse_mount: Permission denied
But login via ssh(1) on that IP works. sshfs from
other OSes to that host also work. Why is it not
possible for a user to use sshfs?
It does work as root (I'd like to avoid that) but
then every file created on the host gets owner
root. (NetBSD mount_psshfs also seems to
require root but there the file owner is set as
expected.)
--Carsten
I may be completely off the mark here but I believe that in OpenBSD all
mount points _must be owned by root. So you have to pass options for uid
and gid with the mount command.
Moss