nthallen / monarch

Monarch Data Acquisition System
0 stars 1 forks source link

/home/flight permissions #200

Open nthallen opened 11 months ago

nthallen commented 11 months 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 11 months 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 11 months ago

That would require change to mkexpactive.

nthallen commented 8 months 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.