mickael-kerjean/filestash

[bug] mount NFS share only possible with container as user root?

Aberta

#868 aberto em 11 de ago. de 2025

 (0 comentário) (0 reação) (0 responsável)Go (999 forks)batch import
help wanted

Métricas do repositório

Stars
 (14.470 estrelas)
Métricas de merge de PR
 (Mesclagem média 1d 5h) (1 fundiu PR em 30d)

Description

Description of the bug

When i tried to mount NFS share i got the Error MNT3ERR_ACCES until I did set the user as root in the filestash container

Step by step instructions to reproduce the bug

Use the demo docker compose file - setup any nfs share on a remote server and then try to mount this share on the filestash website

Can you replicate that error from the demo?

From the demo it is not replicable because I have everything running only in my local network (nfs share and filestash docker). For me it was replicable with the docker compose file and then trying to mount an local NFS share (with sqash_root not set!)

Observed behavior

Trying to mount the NFS share fails with the Error MNT3ERR_ACCES when docker user is not root

Expected behavior

Mounting the NFS share should work without beeing root in the container?

Guia do colaborador