mickael-kerjean/filestash

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

开放

#868 创建于 2025年8月11日

 (0 条评论) (0 个反应) (0 位负责人)Go (999 个派生)batch import
help wanted

仓库指标

星标
 (14,470 个星标)
PR 合并指标
 (平均合并 1天 5小时) (30 天内合并 1 个 PR)

描述

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?

贡献者指南