Samba Share as Storage - Permission Problem

Chris@ProxM

New Member
Jan 1, 2024
1
0
1
Good evening (dependeing, where you are...)!

I´m struggling with a Samba Share.

Setup:

2TB-USB-Harddrive connected to Home-Server with Proxmox (Virtual Environment 8.0.4). Mounted and shared with Samba.

Config:

/etc/samba/smb.conf

Code:
[usb1prox]
Comment = Toshiba 2TB Share
Path = /media/usb1
Browseable = yes
Writeable = Yes
only guest = no
create mask = 0777
directory mask = 0777
Public = no
Guest ok = no

/etc/fstab
Code:
UUID=9678-B72E /media/usb1 ntfs auto,nofail,noatime,users,rw,uid=1000,gid=1000 0 0
/etc/passwd
Code:
smbshare:x:1000:1000::/home/smbshare:/ustr/sbin/nologin

smbshare-user was created in advance (useradd & smbpasswd).

The drive can be connected under Windows with the smbshare-user credentials.

Problem:

I cannot add the SMB-Share as additional Storage to Proxmox.

1704150922533.png

Results:

1704150994522.png

1704151077326.png

Error Code:

1704151160452.png

mkdir /mnt/pve/tosh2TBprox/dump: Permission denied at /usr/share/perl5/PVE/Storage/Plugin.pm line 1390. (500)

Any help appreciated!

Thanks.
 

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!