Expected Behavior
I have a sandbox debian/ built from debian.sif.
>>> from spython.main import Client as c
>>> c.execute('debian', 'touch /file', writable=True, sudo=True)
{'message': "touch: cannot touch '/file': Read-only file system\n", 'return_code': 1}
but on doing the same natively from terminal,
sudo singularity exec --writable debian touch /file
it works and the file gets created.
Actual Behavior
>>> c.execute('debian', 'touch /file', writable=True, sudo=True)
This step should work perfectly same like when done natively.
Steps to Reproduce
sudo singularity build --sandbox debian/ docker://debian:buster-slim
Then do the above mentioned steps.
Context
- Operating System: Ubuntu 16.04
- singularity version: 3.2.0
- spython version: 0.0.71
- python version: 3.7
Failure Logs
{'message': "touch: cannot touch '/file': Read-only file system\n", 'return_code': 1}
[14]+ Stopped python
Expected Behavior
I have a sandbox
debian/built fromdebian.sif.but on doing the same natively from terminal,
it works and the file gets created.
Actual Behavior
This step should work perfectly same like when done natively.
Steps to Reproduce
Then do the above mentioned steps.
Context
Failure Logs