#TwitchyBait perms

1 messages ยท Page 1 of 1 (latest)

idle portal
arctic kettle
#

Yes, so make sure your backups are current from that directory

safe patrol
#

Ok

arctic kettle
#

Then wipe it, and start fresh. License key verification, install a system, create a fresh world.

#

Don't copy any data back into it yet. Let's just get a world launched in Foundry first.

safe patrol
#

Ok wiping it all now

#

Reinstalling now

#

Ok installed PF2E, created a new world and launched it successfully

#

so guessing something is wrong with the backup somewhere

arctic kettle
#

Maybe

#

Shut down Foundry, then copy just the world back in.

#

Windows inheritance for permissions can be really screwy... the idea here is that by making Foundry recreate the user data directory from scratch, copying the files back in should override their permissions to the new appropriate permissions and things should work.

safe patrol
#

Hmm, I copied just the world file, it showed up on launch but when hitting launch has the same EPRM permissions error

#

similiarly if I now try to launch the original test world it gives me the error:forbidden pop up

arctic kettle
#

Blast...

Wait, it's causing a problem even on the one you were able to launch?

safe patrol
#

Yeah, oddly

arctic kettle
#

And you're not running Foundry as admin or anything?

safe patrol
#

Nope just standard opened it

arctic kettle
#

And you didn't copy your entire worlds directory, just the one world?

safe patrol
#

ah no I had just copied the one, I'll remove the individual then go back and do that

arctic kettle
#

If you copied the entire worlds directory, yeah, let's retest by wiping out the worlds directory, relaunching, and creating a new test world.

safe patrol
#

Ok I replaced the world folder and created a new world and that worked. I'll go back and try to launch the original backupworld now

#

yeah so somethings screwey with the original world launching it gives the error again and then makes launching the new test one error out as well

#

damn

#

it's pointing directly to the actors.db if that means anything

arctic kettle
#

alright... let's try a force update here... hold on, I need to go back in and make sure I get the steps right

safe patrol
#

also quick note it seems restarting it lets me launch the test world again

arctic kettle
#

Shut down Foundry.

From within the worlds directory, right click your world and choose properties.

Choose security.

Choose Advanced.

Is the Owner set to your microsoft account (or the account you log in to your world with)?

safe patrol
#

something about trying to start the old world makes launching any world not function

arctic kettle
#

Yeah that's really odd

safe patrol
#

the owner is set to my windows account

arctic kettle
#

Alright, crap my laptop is windows 11 now so things are different. Let's just go straight to the source and check that actors.db file

#

Close out of that window, navigate to it, and same deal - just screencap that security screen this time

safe patrol
#

Yep that's set to the microsoft account as well

arctic kettle
#

๐Ÿค” bloody hell.... I hate windows permissions for this. Everything looks right but it's not right.

I'll need to find my powershell script to force update the permissions... go ahead and copy your user data back over. We'll force update all of it.

safe patrol
#

so copy all the backup data in correct?

#

assuming that's what you mean

arctic kettle
#

yup, just restore your backup.

We've confirmed it's a permissions issue (the test world was fine), but clearly some permission behind the scenes is set wrong.

Actually, let's check one thing before I do that. Regular file permissions on actor.db (after right clicking -> properties). Make sure read-only isn't checked.

safe patrol
#

read only is checked

arctic kettle
#

uncheck it...

#

then relaunch Foundry and see if it loads the world.

safe patrol
#

hmm so unchecked it and it didn't work, checked it again and it reapplied read only so I just backed out a bit to get the whole world off read only and that launched sucessfully.
Jesus thanks for your patience haha

arctic kettle
#

๐ŸŽ‰

safe patrol
#

gotta fix file extensions in the world now but at least it works

arctic kettle
#

Whelp, I'm glad we didn't need powershell

safe patrol
#

haha

arctic kettle
#

Did I mention I hate Windows file permissions?

safe patrol
#

A few times I think

#

๐Ÿคฃ

arctic kettle
#

Ok, good, just making sure ๐Ÿ˜›

Because I hate Windows file permissions

#

So I'd double check your packs and everything with that world.... Just to be safe

safe patrol
#

Thanks for the hard work that'll save me weeks of remaking everything and trying to remember what everyone had haha

arctic kettle
#

Welcome ๐Ÿ™‚ Glad things are going! And remember - no running Foundry as admin unless it's to update the core software!

And you can skip even doing that by uninstalling Foundry and re-installing it someplace else, even the root c drive would keep you from having to run as admin again

safe patrol
#

Definitely noted