Your user needs to be able to traverse the entire path to your files in /opt/homeAssistant/data.
The base dir '/' has 'drwxr-xr-x' permissions, so anyone can enter it.
The '/opt' dir has 'drwxrwxrwx' permissions (which I think you may have changed them to), so again, anyone can enter it.
The '/opt/homeAssistant' dir has 'drwxr-xr-x' permissions (I think you may have changed the 'ownership' here), so again, anyone can enter it.
This leads us to '/opt/homeAssistant/data', you haven't supplied the permissions on that directory, so this is where I would be looking first, can 'jc' enter the 'data' dir ?
Also, setting 'create mask' & 'directory mask' on a share will have no affect on the shares permissions, it will tell Samba what permissions to set on newly created files & directories in the share.
The base dir '/' has 'drwxr-xr-x' permissions, so anyone can enter it.
The '/opt' dir has 'drwxrwxrwx' permissions (which I think you may have changed them to), so again, anyone can enter it.
The '/opt/homeAssistant' dir has 'drwxr-xr-x' permissions (I think you may have changed the 'ownership' here), so again, anyone can enter it.
This leads us to '/opt/homeAssistant/data', you haven't supplied the permissions on that directory, so this is where I would be looking first, can 'jc' enter the 'data' dir ?
Also, setting 'create mask' & 'directory mask' on a share will have no affect on the shares permissions, it will tell Samba what permissions to set on newly created files & directories in the share.
Statistics: Posted by hortimech — Tue Sep 17, 2024 8:27 am