April 18, 20251 yr I have a line in the vm's `/etc/fstab/` file 192.168.50.117:/mnt/user/Linux-Share /home/user nfs defaults 0 0 There issue I've been having is the permissions on the NFS share through unraid is the `all_squash` line in the `/etc/exports` on the Unraid server. This squashes the owner id's to 100, 99 on the `/home/user` directory of the VM. A temporary fix is to manually change the Unraid's settings to `no_root_squash`, but this isn't persistent across rebooting, even ignoring the bad practice of manually editing like that. All files and folders in the `/mnt/user/Linux-Share` folder on the Unraid machine have the proper owner id's as the VM files. Is it possible to change the NFS mount through the Unraid interface to make this persistent or allow the VM nfs mount to remap the id's? Edited April 18, 20251 yr by doug-kasper
April 18, 20251 yr Solution 4 hours ago, doug-kasper said: the `/etc/exports` on the Unraid server That file only exists in RAM while the server is running, and is extracted from the archives on the USB every reboot. Any changes you make need to be redone after each boot. Best way is "CA User Scripts" plugin, write a short script to accomplish the edit, and set it to run "At startup of array"
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.