I try to write something to my add-on package, but I always get permission denied error. I have no problem to open file with fopen(".\\data\\test.txt", "rb");.
But I can't get the write permission with fopen(".\\data\\test.txt", "wb");. I search sdk, it look like I need to use "\work" to get the write permission, but I also have no luck with fopen("\work\data\\test.txt", "wb");, strerror() return "permission denied". Please let me know if I miss anything, thanks