mickael-kerjean/filestash

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

Open

#868 opened on Aug 11, 2025

View on GitHub
 (0 comments) (0 reactions) (0 assignees)JavaScript (8,932 stars) (654 forks)batch import
help wanted

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?

Contributor guide