I was using fopen() to create a text file, but I'm told that I don't have permission to do so. Now, I'm familiar with setting permissions for files that already exist so that I may read/write to/from them, but I have no idea what to do in this scenario, seeing as this file doesn't yet exist.
Any help would be appreciated.