SAMBA Installation with Openhabian - shares are RO

Tags: #<Tag:0x00007efec16e5890> #<Tag:0x00007efec16e5750>
  • Platform information:
    • Hardware: CPUArchitecture/RAM/storage
      Raspberry PI3+ / 1GB / SSD first installation 18 month ago with openhabian, all updates with openhabian
      Raspberry PI4 / 4GB / SSD fresh installtion with openhabian (openhab version 2.5.10-1)
    • OS: what OS is used and which version latest updates with openhabian
    • openHAB version: 2.5.10-1 on both PI

on my PI3 i have used openhabian for the installtion and updates. After the installtion of SAMBA with openhabian-config the respective share are in mode RW (that’s what i want):

mount | grep ‘/dev/sd’ | sort
/dev/sda1 on /boot type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=rem ount-ro)
/dev/sda2 on /srv/openhab2-addons type ext4 (rw,noatime)
/dev/sda2 on /srv/openhab2-conf type ext4 (rw,noatime)
/dev/sda2 on /srv/openhab2-logs type ext4 (rw,noatime)
/dev/sda2 on /srv/openhab2-sys type ext4 (rw,noatime)
/dev/sda2 on /srv/openhab2-userdata type ext4 (rw,noatime)
/dev/sda2 on / type ext4 (rw,noatime)

I have now installed my new PI4 also with openhabian and after the installation of samba with openhabian-config all respective shares are RO (what i do not like)

mount | grep ‘/dev/sd’ | sort
/dev/sda1 on /media/raspibackup type ext4 (rw,noatime,stripe=8191)
/dev/sdb1 on /boot type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro)
/dev/sdb2 on /srv/openhab2-addons type ext4 (ro,relatime)
/dev/sdb2 on /srv/openhab2-conf type ext4 (ro,relatime)
/dev/sdb2 on /srv/openhab2-logs type ext4 (ro,relatime)
/dev/sdb2 on /srv/openhab2-sys type ext4 (ro,relatime)
/dev/sdb2 on /srv/openhab2-userdata type ext4 (ro,relatime)
/dev/sdb2 on / type ext4 (rw,noatime)

i can remount a share to change it to RW:

sudo mount -o remount,rw /srv/openhab2-conf
[sudo] password for openhabian:
[15:42:16] openhabian@ohsh:~$ mount | grep ‘/dev/sd’ | sort
/dev/sda1 on /media/raspibackup type ext4 (rw,noatime,stripe=8191)
/dev/sdb1 on /boot type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro)
/dev/sdb2 on /srv/openhab2-addons type ext4 (ro,relatime)
/dev/sdb2 on /srv/openhab2-conf type ext4 (rw,relatime)
/dev/sdb2 on /srv/openhab2-logs type ext4 (ro,relatime)
/dev/sdb2 on /srv/openhab2-sys type ext4 (ro,relatime)
/dev/sdb2 on /srv/openhab2-userdata type ext4 (ro,relatime)
/dev/sdb2 on / type ext4 (rw,noatime)

is there any reason why the shares for samba are now ro after a new installtion?
Was there a change in openhabian for these shares?
How can i change the shares to be permament on RW