Yea i am sorry been jumping all over the place atm. I setup a vps as dev server since my hosting is limited in ssh access i work allot with composer yarn node and git. so i setup this cheap strato vps and setup user subscriptions so most of the defaults are setup for me but i find that the shell is very weirt.
So i have investigated the default update_chroot.sh sets up the most of chroot but for example the bash env is completely blank looks to me that the .bashrc is not loaded at all.
So looking around it looks the chroot is setup in basic lots of the commands are setup and add php as wel.
So in the end what i can see is that its basically missing the bashrc stuff (bash-4.2$) shows no current dir etc.
since plesk does not work with /home i kinda struggling vinding where to place it.
What i reallyy would like is just a template that makes all current shell env avalible in chroot.
I don't want to work under root.
Or atleast setup the .bashrc then i can manual add the programms i need via the script and go from there.