mickael-kerjean/filestash

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

Open

#868 创建于 2025年8月11日

在 GitHub 查看
 (0 评论) (0 反应) (0 负责人)JavaScript (8,932 star) (654 fork)batch import
help wanted

描述

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?

贡献者指南