Sorry, just realized that I posted this to an Emscripten group when the 
topic was about Emception.
Anyway, I was able to make a workaround fix by calling FS.chmod.

/Mats

onsdag 8 november 2023 kl. 16:08:35 UTC+1 skrev Mats Larsson:

> Hello,
>
> I am using objcopy in emscription to create a binary file:
> *llvm-objcopy -O binary test.elf test.bin*
>
> When i try to read test.bin I get EACCESS and the reson seem to be that 
> test.bin has mode=32768 (octal 100000), see screenshot below:
>
> Other files, for example the output of clang has mode=100666 or 100777 
> (octal), so 100000 does not seem to be correct.
> Any ideas?
>
> [image: Skärmklipp.PNG]
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/emscripten-discuss/90e59ef5-ff10-4a6a-b45c-a22f1519e962n%40googlegroups.com.

Reply via email to