httpdirfs icon indicating copy to clipboard operation
httpdirfs copied to clipboard

Segmentation fault if HOME not set

Open koebi001 opened this issue 8 months ago • 1 comments

Version:

1.2.5-1 from debian bookworm

What is happening:

If HOME is not set I am getting a Segmentation fault. I am using it in a bash script which I execute using salt-stack therefore the environmen does not contain what someone would expect to be always set. My command looks like this:

httpdirfs --cache --cache-location /tmp/httpdirfs --single-file-mode  https://webserver/file /mnt/file

What do I expect:

Write an error message to stderr and exit whit exit status != 0

Workaround:

Set HOME before running httpdirfs For example:

HOME=/tmp httpdirfs --cache --cache-location /tmp/httpdirfs --single-file-mode  https://webserver/file /mnt/file

koebi001 avatar Jun 12 '24 16:06 koebi001