-
-
Notifications
You must be signed in to change notification settings - Fork 31
Closed
Description
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
Metadata
Metadata
Assignees
Labels
No labels