nthallen / monarch

Monarch Data Acquisition System
0 stars 1 forks source link

/home/flight permissions #200

Open nthallen opened 1 year ago

nthallen commented 1 year ago

SCoPEx is not copying flight.sh.log on saverun, despite LogFiles being specified correctly. rwxr-xr-x /home/flight If I add g+w to /home/flight, then I can't login as user flight using an ssh key, which we require. This shouldn't be a problem if saverun uses flight@$FlightNode, and that is in fact what is specified. Maybe that's not the problem.

nthallen commented 1 year ago

Ah, I think the problem is when running saverun on the flight node as another user.

One possible way to address this would be to make /home/flight/flight.sh.log be a softlink to /home/scopex/flight.sh.log

nthallen commented 1 year ago

That would require change to mkexpactive.

nthallen commented 1 year ago

I have tested this approach on scopex, and it works. Still need to make the change to mkexpactive.

Existing instruments will need to:

There should be no problem if they fail to do this unless and until they run mkexpactive.