I am running OpenWrt 22.03.2 on a x86_64 machine. i have attached an extra hard disk and installed Samba server to share the content into the LAN and VPN. I have created a user an i can login from MS Win 10 and Android devices to see the share. Unfortunately i do not have write access to this folder. Here is the config of
/etc/config/samba4
of my system:
config samba
option workgroup 'WORKGROUP'
option charset 'UTF-8'
option description 'Samba on OpenWRT'
option interface 'WG_server lan'
option enable_extra_tuning '1'
config sambashare
option path '/mnt/sda1'
option read_only 'no'
option create_mask '0666'
option dir_mask '0777'
option users 'atuxnull'
option guest_ok 'no'
option name 'SSD_on_router'
Ideally i would like to have 2 users. One with read/write access and one with read only, if possible possible to see the same drive.