maras
(maras)
January 8, 2022, 9:16am
1
I have access denied to addons from WIndows10
I have normal access to all folders. Only /usr/share/openhab not working. What is wrong?
Samba config:
#=================== Custom Share Definitions ====================
[openHAB-share]
comment=openHAB2 combined folders
path=/srv
writeable=yes
public=no
create mask=0664
directory mask=0775
veto files = /Thumbs.db/.DS_Store/..DS_Store/.apdisk/. */
delete veto files = yes
[openHAB-conf]
comment=openHAB site configuration
path=/etc/openhab
browseable=Yes
writeable=Yes
only guest=no
public=no
create mask=0777
directory mask=0777
veto files = /Thumbs.db/.DS_Store/..DS_Store/.apdisk/. */
delete veto files = yes
[openHAB-userdata]
comment=openHAB userdata
path=/var/lib/openhab
browseable=Yes
writeable=Yes
only guest=no
public=no
create mask=0777
directory mask=0777
veto files = /Thumbs.db/.DS_Store/..DS_Store/.apdisk/. */
delete veto files = yes
[openHAB-sys]
comment=openHAB application
path=/usr/share/openhab
browseable=Yes
writeable=yes
only guest=no
public=no
create mask=0777
directory mask=0777
veto files = /Thumbs.db/.DS_Store/..DS_Store/.apdisk/. */
delete veto files = yes
What is not working ?
No access to that folder at all or no read access or no write access ?
One of the comments in the smb.conf file shows openHAB2.
Are you on openHAB2 or on a openHAB3 that was migrated from openHAB2 ?
Does the access work via openHAB-share ( one of the sub directories is addons ) or does that provide the same error ?
Logging on to samba as user openhabian does not require that the create/directory mask is changed to 0777.
maras
(maras)
January 8, 2022, 5:16pm
3
I do not have permission to write file in location /usr/share/openhab
I coped with the command line sudo cp org.openhab.binding.broadlink-3.2.0-SNAPSHOT.jar /usr/share/openhab/addons
but on windows10 when I moving file I have permission fault.
Now I use OH3 updated from OH 2.5.12
EDIT:
SOLUTION:
Hello Vossid,
Did you apply for Fix Permissions in openHABian configuration tool?
Install Putty
connect to your OpenHabian server with your IP address or Hostname.
User: openhabian
Password: openhabian
write:
sudo openhabian-config
Go to 10 Apply improvements
Fix Permissions and that should do all magic.
[Untitled]
Let me please know if it worked. I would like to have super precise guide to follow.