Penned by Antoine Jacoutot on 20140605 10:53.45, we have:
| On Thu, Jun 05, 2014 at 09:40:09AM -0600, Stuart Henderson wrote:
| > CVSROOT:    /cvs
| > Module name:        ports
| > Changes by: [email protected]   2014/06/05 09:40:09
| > 
| > Log message:
| >     import ports/sysutils/usmb; ok and readdir fix from syl@ (who also fixed
| >     various fuse problems found in the course of porting/testing).
| >     
| >     usmb lets you mount SMB shares as unprivileged users via FUSE, in the
| 
| There is no way to mount anything as unprivileged on OpenBSD. Only root can 
access the fuse device.

sudo groupadd fuse
sudo usermod -G fuse $USER
sudo chgrp fuse /dev/fuse0
sudo chmod 660 /dev/fuse0
sudo sysctl kern.usermount=1
sudo su - $USER
mkdir $HOME/blah
sshfs localhost:/tmp $HOME/blah -o intr -o reconnect
df -h $HOME/blah /tmp
Filesystem     Size    Used   Avail Capacity  Mounted on
fusefs         241M   44.0K    229M     0%    /home/todd/blah
/dev/sd2g      241M   44.0K    229M     0%    /tmp

Seems to work for me.
 
| >     vein of Windows' Map Network Drive facility. It differs from the other
| >     FUSE SMB filesystems (fusesmb, SMB for FUSE) in that it doesn't have
| >     Network Neighbourhood functionality: this means that you can mount
| >     shares that you can't see via NetBIOS browsing.
| >     
| >     (Note: unprivileged mounting requires both kern.usermount=1 and access
| >     to /dev/fuse0).
| >     
| >     Status:
| >     
| >     Vendor Tag:     sthen
| >     Release Tags:   sthen_20140605
| >     
| >     N ports/sysutils/usmb/Makefile
| >     N ports/sysutils/usmb/distinfo
| >     N ports/sysutils/usmb/pkg/PLIST
| >     N ports/sysutils/usmb/pkg/DESCR
| >     N ports/sysutils/usmb/patches/patch-Makefile_in
| >     N ports/sysutils/usmb/patches/patch-usmb_dir_c
| >     
| >     No conflicts created by this import
| > 
| 
| -- 
| Antoine

-- 
Todd T. Fries . http://todd.fries.net/pgp.txt . @unix2mars . github:toddfries

Reply via email to