emscripten/tests/unistd/access.js

5 строки
215 B
JavaScript

FS.createDataFile('/', 'forbidden', '', false, false);
FS.createDataFile('/', 'readable', '', true, false);
FS.createDataFile('/', 'writeable', '', false, true);
FS.createDataFile('/', 'allaccess', '', true, true);