Playtest not working Error - EPERM: Operation not permitted, write

Yeah so as the title says I have an error which is stopping playtest from working.

Whenever I pull it up it just says

UnknownError
EPERM: Operation not permitted, write

Now I believe I read somewhere that it has something to do with the folder being in read-only. I tried changing that but as soon as I close the properties window, it immediately reverts right back to read-only.

I also read that I can get around the issue by running the engine itself as administrator but NOPE that didn't work either.

Turning off all plugins yield no results either.

I'm frustrated and getting fed up with it.

I've tried every single thing I possibly think of too. Anti-malware, Reimage repair tool, etc.
EPERM comes from you not having sufficient privileges to write. That can happen for example if your project is inside of the Program files folder, you need admin privileges to save games (from Win 7 onward every app is launched as User unless it explicitly requires admin access, it's a security measure against nasty malware). Although you say this is not the case as you've already tried... So another possibilities.

From damage to the disk or its wear.
Try to copy the project somewhere else.
Another possibility could be that your PC got crazy and needs a reboot, it has happened to me a couple of times that I did not have the privileges to launch or save anything... Hell, I didn't even have the privileges to turn off the computer!
What's the full path to your project folder?
I tried changing that but as soon as I close the properties window, it immediately reverts right back to read-only.
that means that you don't even have the rights to change the folder settings.
and that in itself strongly suggest that you are inside a folder where you are forbidden to be.

so the best solution would be to get the project out of that folder as soon as possible, hoping that you haven't damaged your project by placing it where it never should have been placed.

if you give us the full folderpath like requested above we might even tell you why that folder is forbidden for you.
EPERM comes from you not having sufficient privileges to write. That can happen for example if your project is inside of the Program files folder, you need admin privileges to save games (from Win 7 onward every app is launched as User unless it explicitly requires admin access, it's a security measure against nasty malware). Although you say this is not the case as you've already tried... So another possibilities.

From damage to the disk or its wear.
Try to copy the project somewhere else.
Another possibility could be that your PC got crazy and needs a reboot, it has happened to me a couple of times that I did not have the privileges to launch or save anything... Hell, I didn't even have the privileges to turn off the computer!

What's the full path to your project folder?

that means that you don't even have the rights to change the folder settings.
and that in itself strongly suggest that you are inside a folder where you are forbidden to be.

so the best solution would be to get the project out of that folder as soon as possible, hoping that you haven't damaged your project by placing it where it never should have been placed.

if you give us the full folderpath like requested above we might even tell you why that folder is forbidden for you.

It is inside the game's subfolder of documents. I am the sole user of this PC and have all rights yet I am still restricted, on my own PC???

Even logging in as the actual account called Administrator yielded no results.
yet I am still restricted, on my own PC???
yes you are, for very good reasons. Because when other programs work on folders they sometimes need exclusive excess or they will destroy data.
One such case is for example the steam program folder - there was once someone who placed his project directly into the steam cloud folders and wondered why his project got damaged when he used steam. So you as the owner of the PC have to be forbidden to store your own games into the steam folders (unless you know exactly what you're doing).
And there are dozens of other folders where the user should NEVER change things due to the risk of damaging windows.

It is inside the game's subfolder of documents.
That answer is useless - please give the full path, somthing like c:\folder1\folder2\folder3 and so on.
We aren't asking for the fun of it, but because there are other possible causes for this that we can see as soon as we see the true path to the files.
Things like cloudsyncs or illegal letters (windows allows some letters to be used for foldernames that are illegal for HTML5-games).
If you want to solve your problem, we need the details we were asking for
yes you are, for very good reasons. Because when other programs work on folders they sometimes need exclusive excess or they will destroy data.
One such case is for example the steam program folder - there was once someone who placed his project directly into the steam cloud folders and wondered why his project got damaged when he used steam. So you as the owner of the PC have to be forbidden to store your own games into the steam folders (unless you know exactly what you're doing).
And there are dozens of other folders where the user should NEVER change things due to the risk of damaging windows.


That answer is useless - please give the full path, somthing like c:\folder1\folder2\folder3 and so on.
We aren't asking for the fun of it, but because there are other possible causes for this that we can see as soon as we see the true path to the files.
Things like cloudsyncs or illegal letters (windows allows some letters to be used for foldernames that are illegal for HTML5-games).
If you want to solve your problem, we need the details we were asking for


C:\Users\starw\Documents\Games\DayNightTest
if that is the path where you can't get writing rights, then something messed up your windows rights - you should be able to write there.
Either you installed an access restriction program and forgot about it, or a malware messed up your user rights, or your user with the name starw had been damaged in the past or something like that, because that path should be OK.

until you find the culprit for that problem (has nothing to do with the RMs), I suggest you make your work and playtests in c:/daynighttest or so.
if that is the path where you can't get writing rights, then something messed up your windows rights - you should be able to write there.
Either you installed an access restriction program and forgot about it, or a malware messed up your user rights, or your user with the name starw had been damaged in the past or something like that, because that path should be OK.

until you find the culprit for that problem (has nothing to do with the RMs), I suggest you make your work and playtests in c:/daynighttest or so.


That suggestion worked, thanks! 🙂

Yeah my computer has been acting rather strange lately. I ran Malwarebytes and it found over 150 threats, though most of them were just PUPs, very few were actual malware.

I am considering reformatting my PC but these days I use that as a last resort as I prefer to try and fix problems first if possible. I was all too quick to resort to reformatting back in the day.

Original thread: https://forums.rpgmakerweb.com/threads/playtest-not-working-error-eperm-operation-not-permitted-write.114657/