Re: Can't use sshfs as user

2016-05-22 Thread Ray Lai
I've fixed "sshfs -o idmap=user", please test and give feedback: https://marc.info/?l=openbsd-tech=146383589632694=2 Index: fuse_opt.c === RCS file: /home/cvs/src/lib/libfuse/fuse_opt.c,v retrieving revision 1.15 diff -u -p -r1.15

Re: Can't use sshfs as user

2016-04-28 Thread Stuart Henderson
On 2016-04-26, Daniel Boyd wrote: > Any idea how to get it to map the uid? Once I mount the folder, I can't > access it. > > I've tried -o idmap=user, -o uid=1000, etc. None of that seems to work. iirc that's not supported in OpenBSD's FUSE implementation yet.

Re: Can't use sshfs as user

2016-04-26 Thread Daniel Boyd
Any idea how to get it to map the uid? Once I mount the folder, I can't access it. I've tried -o idmap=user, -o uid=1000, etc. None of that seems to work. On Mon, Apr 25, 2016 at 6:18 AM, Dmitrij D. Czarkoff wrote: > Thuban said: > > Oh, that was it. > > It works after a >

Re: Can't use sshfs as user

2016-04-25 Thread Dmitrij D. Czarkoff
Thuban said: > Oh, that was it. > It works after a > # chmod 666 /dev/fuse0 > > Not sure it's really secure thought. You only need 660 and your user in 'wheel' group. -- Dmitrij D. Czarkoff

Re: Can't use sshfs as user

2016-04-25 Thread Thuban
* Sebastien Marie le [24-04-2016 10:17:58 +0200]: > On Fri, Apr 22, 2016 at 04:51:39PM +0200, Thuban wrote: > > Hi, > > I try to mount a directory with sshfs as non-root, but I get the > > following error : > > > > fuse_mount: Permission denied > > > > I don't get it. I

Re: Can't use sshfs as user

2016-04-24 Thread Sebastien Marie
On Fri, Apr 22, 2016 at 04:51:39PM +0200, Thuban wrote: > Hi, > I try to mount a directory with sshfs as non-root, but I get the > following error : > > fuse_mount: Permission denied > > I don't get it. I have "kern.usermount=1" in /etc/sysctl.conf, but > according to [1] I need to use some

Re: Can't use sshfs as user

2016-04-24 Thread Thuban
* Thuban le [22-04-2016 16:51:39 +0200]: > Hi, > I try to mount a directory with sshfs as non-root, but I get the > following error : > > fuse_mount: Permission denied > > I don't get it. I have "kern.usermount=1" in /etc/sysctl.conf, but > according to [1] I need to

Can't use sshfs as user

2016-04-22 Thread Thuban
Hi, I try to mount a directory with sshfs as non-root, but I get the following error : fuse_mount: Permission denied I don't get it. I have "kern.usermount=1" in /etc/sysctl.conf, but according to [1] I need to use some option about uid. But which ones? Regards. [1] :