wschmbomrpqg
Dabbler
- Joined
- Jul 28, 2020
- Messages
- 17
Hello everyone!
I want to share a dataset via NFS to my Proxmox host. If I try to access it, I will receive the following error:
This clearly looks like a permission issue... but I guess I'm too stupid to get it?
This is what I have:
dataset owned by root:wheel with permissions 770
For the nfs share I didn't set any options.
Didn't work.
Proxmox should access the share as root:root as far as I know.
So I've also tried to set maproot user root and maproot group wheel.
(Because Proxmox root is in the root group and not wheel as it is in FreeNAS)
Didn't work.
Then I've set mapall user nobody and mapall group nobody.
And changed the dataset to nobody:nobody with permissions 770.
This did work finally.
But why? From my understanding it should've worked before too.
The only thing I can imagine why this didn't work is that Proxmox does not try to connect as root.
Is there any way to find out which user/group actually tries to access the share?
Is it a good idea to set the mapall user+group to nobody?
Doesn't that mean everyone could access everything in this share?
I've already restricted the access to the specific IP of the Proxmox host... but still.
I want to share a dataset via NFS to my Proxmox host. If I try to access it, I will receive the following error:
Code:
create storage failed: error during cfs-locked 'file-storage_cfg' operation: mkdir /mnt/pve/DATA/template: Permission denied at /usr/share/perl5/PVE/Storage/Plugin.pm line 1070. (500)
This clearly looks like a permission issue... but I guess I'm too stupid to get it?
This is what I have:
dataset owned by root:wheel with permissions 770
For the nfs share I didn't set any options.
Didn't work.
Proxmox should access the share as root:root as far as I know.
So I've also tried to set maproot user root and maproot group wheel.
(Because Proxmox root is in the root group and not wheel as it is in FreeNAS)
Didn't work.
Then I've set mapall user nobody and mapall group nobody.
And changed the dataset to nobody:nobody with permissions 770.
This did work finally.
But why? From my understanding it should've worked before too.
The only thing I can imagine why this didn't work is that Proxmox does not try to connect as root.
Is there any way to find out which user/group actually tries to access the share?
Is it a good idea to set the mapall user+group to nobody?
Doesn't that mean everyone could access everything in this share?
I've already restricted the access to the specific IP of the Proxmox host... but still.