You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Device Information (please complete the following information):
OS: Ubuntu 22.04.3 LTS 64-bit desktop
Deployment: Docker
Browser (if relevant): Firefox
SIST2 Version: v3.1.4
Elasticsearch Version (if relevant) : 7.17.9
Command with arguments
n/a, I used the default docker-compose.yml from here
Only change I made was mounting my Documents folder at /host like so:
/home/user/Documents:/host:ro
Describe the bug
I just noticed the file paths from the root (in the container) are missing the first character (and the leading slash, although that's less important).
Actual Behavior
Paths are missing leading slash and first character. oot/, ost/ and tc/ appear instead of /root/, /host/, and /etc/, for example.
Screenshots
Additional context
This also appears to impact viewing files. For example, say I have an image in my search results. If I click on that image to view the original, the path shows up as [JOBNAME]/ost/image.png instead of [JOBNAME]/host/image.png.
The text was updated successfully, but these errors were encountered:
Huh, interesting: I deleted and re-created my index, this time setting Path to /host under Scanning options for the job. The filter path dialog now looks proper, like I'd expect... showing full directory names under /host (which I've mounted via Docker to ~/Documents on my Docker host).
I did notice all the folder names are lowercased, but so far it seems to work fine.
simon987
changed the title
leading character chopped off for all paths in filter path dialog
leading character chopped off when scanning /
Sep 26, 2023
Device Information (please complete the following information):
Firefox
v3.1.4
7.17.9
Command with arguments
n/a, I used the default
docker-compose.yml
from hereOnly change I made was mounting my Documents folder at
/host
like so:/home/user/Documents:/host:ro
Describe the bug
I just noticed the file paths from the root (in the container) are missing the first character (and the leading slash, although that's less important).
Steps To Reproduce
Please be specific!
Filter path
Expected behavior
List of root folders shown.
Actual Behavior
Paths are missing leading slash and first character.
oot/
,ost/
andtc/
appear instead of/root/
,/host/
, and/etc/
, for example.Screenshots
Additional context
This also appears to impact viewing files. For example, say I have an image in my search results. If I click on that image to view the original, the path shows up as
[JOBNAME]/ost/image.png
instead of[JOBNAME]/host/image.png
.The text was updated successfully, but these errors were encountered: