I'm in a high school computer lab using MacOS 14.2 (Sonoma); I will have multiple students per day using GameMaker, each with their own login.
In testing things out I noticed that the second user in a day could not open GameMaker, and it turns out that's because /tmp/GameMakerStudio2 (or /tmp/GameMakerStudio2-LTS, it happens in both versions) never got deleted when the previous user closed GameMaker and logged out. That directory is owned by the previous user and the newly logged in user can't run GameMaker unless they can write to that temp folder.
I've confirmed that "Automatically delete temp directory on close" is checked (it was by default), I'm not sure what else I need to do on my end to make sure that /tmp/GameMakerStudio2 actually gets deleted on close. Until this problem is resolved only my first class in a day can use the software without me going to each computer and manually deleting the tmp folder using sudo.
I'm new to GameMaker so I'm not sure what other information you might need. I'm happy to provide any additional information you request.
Expected Change
When "Automatically delete temp directory on close" is checked and I close GameMaker /tmp/GameMakerStudio2 should be deleted.
Steps To Reproduce
Start GameMaker in MacOS
Open GameMaker -> Settings
General Settings -> Paths
Confirm "Automatically delete temp directory on close " is checked
(from terminal) ls -l /tmp/ | grep Game (should show GameMakerStudio2 (or GameMakerStudio2-LTS) with user who owns the directory
Exit GameMaker
(from terminal) ls -l /tmp/ | grep Game (will once again show GameMakerStudio2 folder, but should no longer be there), same user owns the directory.
How reliably can you recreate this issue using your steps above?
Always
Which version of GameMaker are you reporting this issue for?
2023.11.1 (Monthly), 2022.0.2 (LTS)
Which operating system(s) are you seeing the problem on?
macOS Sonoma
Are you running GameMaker from inside your Steam library?
No
Contact Us Package Attached?
[X] I have attached my Contact Us Package gmcontact.zip
Absent a proper answer about this, from what I read online, rebooting (not just logging out/logging in) should automatically clear the contents of /tmp, which might streamline what you need to do between classes.
Description
I'm in a high school computer lab using MacOS 14.2 (Sonoma); I will have multiple students per day using GameMaker, each with their own login.
In testing things out I noticed that the second user in a day could not open GameMaker, and it turns out that's because /tmp/GameMakerStudio2 (or /tmp/GameMakerStudio2-LTS, it happens in both versions) never got deleted when the previous user closed GameMaker and logged out. That directory is owned by the previous user and the newly logged in user can't run GameMaker unless they can write to that temp folder.
I've confirmed that "Automatically delete temp directory on close" is checked (it was by default), I'm not sure what else I need to do on my end to make sure that /tmp/GameMakerStudio2 actually gets deleted on close. Until this problem is resolved only my first class in a day can use the software without me going to each computer and manually deleting the tmp folder using sudo.
I'm new to GameMaker so I'm not sure what other information you might need. I'm happy to provide any additional information you request.
Expected Change
When "Automatically delete temp directory on close" is checked and I close GameMaker /tmp/GameMakerStudio2 should be deleted.
Steps To Reproduce
How reliably can you recreate this issue using your steps above?
Always
Which version of GameMaker are you reporting this issue for?
2023.11.1 (Monthly), 2022.0.2 (LTS)
Which operating system(s) are you seeing the problem on?
macOS Sonoma
Are you running GameMaker from inside your Steam library?
No
Contact Us Package Attached?
Sample Project Added?