according to the manual page more than one directory can be used as parameter.
According to the prompt
I would expect that the installation is done using an openhabian image / apt installation.
Thus /opt/openhab/conf is not made available in the standard openhabian installation.
What would you like to do ?
The title says something about samba configuration - the content of your post does not really refer to a samba question.
As you use openhabian it might be easier to use the openhabian-config menu to do the samba setup/tuning.
Sorry guys if I expose not well my question. The problem is to access to my files of openhabian in ubuntu. I follow the documentation as I post. Sorry bur really the documentation is not clear. Again I’m a new user, I want to migrate from OA and really at the moment I’m having a bad experience with openHab! But anyway let’s try to be constructive because I think I’m not the only that had the problem. If someone that have openhabian have to follow a different way to configure Samba why don’t correct the documentation an write better that? If someone know exactly hot to do is possible to update the documentation then the following people that read it will not have the problem?
Ultimately, the error you saw is no error at all. You don’t have a folder /opt/openhab/conf so there is nothing to chown there. You should not have such a folder if you installed using apt. So continue with the remaining instructions.
Make your life easier …
The documentation you posted is valid for any linux installation …
As you use openhabian use menu entry 16 to install / setup samba. It is preconfigured and should be easier than doing it from scratch which of course will work, too.