Can't find yaml or acces ha directory in samba

i installed hassan 1.1 and samba but i can only acsses pi home and in the pi itself only hassian scrips ls is shown
the ha web gui is up i’m following bruh automations vids

I’m using Bruh’s /etc/samba/smb.conf copy and pasted from the video:

path = /home/homeassistant/.homeassistant
comment = No comment
browsable = yes
read only = no
valid users =
writable = yes
guest ok = yes
public = yes
create mask = 0777
directory mask = 0777
force user = root
force create mode = 0777
force directory mode = 0777
hosts allow =

change your path to .homeassistant as needed.

thank you so much it worked