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.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!