I assume that you have writing rigths on /media/sf_Xray/ .
Can you load any of the selectors under $ROOTSYS/tutorials/proof or $ROOTSYS/tutorials/tree?
For example, what do you get from
cd /media/sf_Xray/
cp -rp $ROOTSYS/tutorials/tree/h1analysis.{C,h} .
root -l
.L h1analysis.C+
Yes. I can create, edit, delete in that directory. But it’s a shared folder. I use VBox in windows.
Under that directory, I cannot. I switch the directory to $HOME/Downloads, everything works fine. It seems the problem of ownership of the directory.
Now problem solved.
Thank you very much.