You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following attempts to write to any device file in the mounted /dev subdirectory fail with the following error:
$ cd mnt
$ echo hi > ./dev/null
-bash: echo: write error: Operation not permitted
$ head -1 < ./dev/random
head: Error reading stdin
I have not verified if the same limitation exists on Linux as well at the time of writing, but it nevertheless would be quite nice if sandboxfs supported binaries or scripts which wrote to /dev/null if the user requested that the device file be mounted, for example.
The text was updated successfully, but these errors were encountered:
ebkalderon
changed the title
Device files not supported
Device files are not supported
Dec 3, 2019
It appears that reading from and writing to device files is not supported via
sandboxfs
andosxfuse
on macOS. Given the example command below:The following attempts to write to any device file in the mounted
/dev
subdirectory fail with the following error:I have not verified if the same limitation exists on Linux as well at the time of writing, but it nevertheless would be quite nice if
sandboxfs
supported binaries or scripts which wrote to/dev/null
if the user requested that the device file be mounted, for example.The text was updated successfully, but these errors were encountered: