Hi,

thanks for the port, but the unveil() rules are too strict.
It needs at least /var/run/samba to work correctly.

After writing an LD_PRELOAD shim that bypasses the unveil() calls,
mounting works. Otherwise susmb fails on OpenBSD 8.0 with:

directory_create_or_exist: mkdir failed on directory /var/run/samba: No such file or directory directory_create_or_exist: mkdir failed on directory /var/run/samba: No such file or directory
Connection failed: Invalid argument


Kind Regards,
Benjamin Stürz

On 2/21/26 5:28 PM, Pascal Stumpf wrote:
susmb lets you mount SMB/CIFS shares via FUSE, in the vein of the
Map Network Drive functionality in Windows.


This is a fork of usmb, most notably adding privdrop and unveil(2), and
getting rid of the XML config file.  Patches from sysutils/usmb have
also been incorporated.

Reply via email to