Velvet Star Monitor

Standout celebrity highlights with iconic style.

general

how to systemd mount nfs share

Writer Olivia Zamora

I mounted a nfs share using systemd and it all works but only for the root user. How can I mount using systemd that the mountpoint can be accessed by all users and is also usable by a docker container?

At the moment I can only access the mountpoint as root user, any other user gets a Permission denied. Here is my config:

[Unit]
Description=NZBGet
After=network.target
[Mount]
What=192.168.2.32:/volume1/nzbget
Where=/mnt/synology/nzbget
Type=nfs
Options=soft,async
[Install]
WantedBy=multi-user.target
3 Reset to default

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy