Hi,
I have setup Samba on a new build but am having an issue where I can access one share but not a second one
I can create a (windows) 'map to shared drive' for jchome but not for HAConfig. The error is 'permission denied'
This occurs from both Windows and Ubuntu.
Server is a Raspberry Pi4B PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
from /etc/samba/smb.confThe best I can see is that the relevant folders have the same permissions for 'jc'
And the path to thise folders is accessable by 'jc' alsoI am lost. What else could it be ?
Thanks for any help
JC
I have setup Samba on a new build but am having an issue where I can access one share but not a second one
I can create a (windows) 'map to shared drive' for jchome but not for HAConfig. The error is 'permission denied'
This occurs from both Windows and Ubuntu.
Server is a Raspberry Pi4B PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
from /etc/samba/smb.conf
Code:
[jchome] comment= jchome path=/home/jc browseable=Yes writeable=Yes guest ok = yes create mask = 0775 directory mask = 0775 force user = jc[HAConfig] comment= HA Config files in /opt/homeAssistant/data path=/opt/homeAssistant/data browseable=Yes writeable=Yes guest ok = yes create mask = 0775 directory mask = 0775 force user = jc
And the path to thise folders is accessable by 'jc' also
Code:
/home/jcjc@Rpi4-HA-M2:~ $ ls -lisatotal 196 1554 4 drwx------ 21 jc jc 4096 Sep 16 16:44 . 16 4 drwxr-xr-x 3 root root 4096 Jul 4 10:17 .. 1556 4 drwxr-xr-x 2 jc jc 4096 Jul 4 10:10 Bookshelfcd /opt jc@Rpi4-HA-M2:/opt $ ls -lisatotal 40 129029 4 drwxrwxrwx 9 root root 4096 Sep 16 16:14 . 2 4 drwxr-xr-x 18 root root 4096 Sep 12 12:20 .. 537602 4 drwx--x--x 4 root root 4096 Sep 13 13:27 containerd 131405 4 -rwxrwxrwx 1 jc jc 1919 Sep 16 16:14 docker-compose.yaml1039791 4 drwxr-xr-x 3 jc jc 4096 Sep 15 10:45 homeAssistant 809530 4 drwxr-xr-x 5 jc jc 4096 Sep 15 16:43 mosquitto
Thanks for any help
JC
Statistics: Posted by jc508 — Tue Sep 17, 2024 1:15 am