Run number auto not working due to permission problems

REST version : v2.2.16_dev
REST commit :

I have updated the CMakeLists.txt file so that at the installation time it will give write permissions to REST_PATH and REST_PATH/runNumber for anyone.

This is necessary so that any user loading REST from a given installation is allowed to benefit from auto option inside runNumber parameter from TRestRun.

Don’t know if it is the best solution. Probably the best would be to create a hidden directory and file under $HOME/.rest/runNumber?

So that each user has its own runNumber counting?

Similar problem with the directory /data/download/. If someone who did not do the installation tries to use that installation will have problems with the gas generation, since s/he will have no permissions to download to /data/download/.

Probably this could be done by analogy at the user space? $HOME/.rest/download/? @nkx?

1 Like