Admin user creates NFS share with sub directory owned by root!

PmGs

New Member
Nov 26, 2023
7
1
1
Hi All,

I'm new to Proxmox and I want to use it with an admin user (not root)

I created linux "admin" user and gave the admin right following this link https://pve.proxmox.com/wiki/User_Management#_real_world_examples

Now I want to create a NFS storage with this user.

I created the share directory on my NFS server, owned by the user "admin" (same uid as admin on proxmox server)

I logged on Proxmox with this user "admin" and try to add the NFS share but get a permission denied!

So I added "no_root_squash" in my NFS exports and re-try to add the NFS storage (ISO images)? This time, it worked but the subdirectory "template" that was created is owned by root! (The main directory - ID of the storage - is owned by "admin" that's normal)

What I do wrong?
How can I do to have the subdir "template" owned by "admin" and without usinf the option "no_root_squash in teh NFS export)?

Thanks in advance for any enlightenment.