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?

貢獻者指南