Hi, on native distributions, I am not able to read...
# compose-desktop
a
Hi, on native distributions, I am not able to read/write files on system. Works with kar though. Seems like some permission issue. Is there anything extra which I need to do to make it work?
k
What is kar?
If you have specific stack traces or error messages in the console / terminal, file a bug. "some permission issue" is too vague.
a
Basically AccessDeniedException.
k
This is not useful. If you have the detailed stack trace, file a bug in compose-jb and attach the full log in there.
a
From whatever I can read on this, I think this is because of java sandbox permissions which are denying the access. Basically doing operation on File("somefile") will fail. I will add an issue will full stack trace and description to understand this. Thanks :)
d
I'm using CfD on Windows and have had no problem doing File IO - it's just normal Java, basically.
make sure file exists, make sure your program is running with an user that has permissions to modify the file, make sure the file isn't write-locked...there's nothing Compose-specific about it
a
Thanks David. Will look into it more deeply.