File read/write permissions within eSASS Docker container
Posted: Tue Sep 26, 2023 10:35 pm
Hi,
I'm using the eSASS Docker container following Section 3.2 of https://erosita.mpe.mpg.de/edr/DataAnal ... _container
Say I have my data stored in /mnt/user/data/, where I have various eROSITA event lists stored. Then to run the container I enter:
docker run --volume /path/to/caldb:/home/idies/caldb --volume /mnt/usr/data:/data -it --rm erosita/esass-minimal:latest /bin/bash
Great, within the container I can see the files are present in /data/ and it appears the eSASS tasks are recognized. The problem arises when I try to run them from within /data/, e.g. by running
flaregti fm00_700201_020_EventList_c001.fits
I am faced with the error: "flaregti/flaregti_mod: **STOP** Cannot open event file"
If I try "touch fm00_700201_020_EventList_c001.fits" I get a "Permission denied". And I can't run "sudo touch fm00_700201_020_EventList_c001.fits", because I don't know the password for idies. The same problem happens if I try to create and write to a new file within /data, Permission Denied.
Apologies if this is a basic Docker question, I am unfamiliar with the platform before this. Thanks in advance!
I'm using the eSASS Docker container following Section 3.2 of https://erosita.mpe.mpg.de/edr/DataAnal ... _container
Say I have my data stored in /mnt/user/data/, where I have various eROSITA event lists stored. Then to run the container I enter:
docker run --volume /path/to/caldb:/home/idies/caldb --volume /mnt/usr/data:/data -it --rm erosita/esass-minimal:latest /bin/bash
Great, within the container I can see the files are present in /data/ and it appears the eSASS tasks are recognized. The problem arises when I try to run them from within /data/, e.g. by running
flaregti fm00_700201_020_EventList_c001.fits
I am faced with the error: "flaregti/flaregti_mod: **STOP** Cannot open event file"
If I try "touch fm00_700201_020_EventList_c001.fits" I get a "Permission denied". And I can't run "sudo touch fm00_700201_020_EventList_c001.fits", because I don't know the password for idies. The same problem happens if I try to create and write to a new file within /data, Permission Denied.
Apologies if this is a basic Docker question, I am unfamiliar with the platform before this. Thanks in advance!