CIFS storage permission problem...

intrax

Member
Oct 23, 2023
83
10
8
If I mount a cifs storage from a VM running a NAS SMB server package the storage it is always mounted as root (755) and that somehow cannot be changed, including all subdirs also root (755) allthough the smb share has different permissions.

If I mount the SMB share in proxmox and than create another directory in it that is not owned by root the storage subsystem still changes the owner to root:root(755). Why??

I want to run a backup on the proxmox host that I don't want to run as root, but as a normal admin user backing up to the cifs share.

Looks like the cifs storage in the VM can only be used by root on the proxmox host!

Not right imo. Any solution ?
 
Last edited:
I solved the problem by deleting the cifs share in proxmox and mounting the smb share in the shell using the correct user and permissions. I cannot enter into fstab file as the VM is not running when proxmox is booting.
The cifs mount in proxmox is a #FAIL!
 

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!