Create data directories through the writer object
I propose that the Bliss client (shell or whatever) should not create directories in the data folders. It should use the writer object (which can be obtained through SCAN_SAVING
): https://gitlab.esrf.fr/bliss/bliss/-/blob/master/bliss/scanning/writer/file.py#L121
That way you know all data folders are owned by the same user (the user under which the writer runs). One exception is the scanxxxx folders created by lima (I doubt we can change that) which are owned by the user under which the lima server is running.
This MR has added direct directory creation in Bliss: !4277 (merged)