Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't restart Processing 4 because of read/write permissions for the modes folder #581

Closed
SmantikVJ opened this issue Oct 24, 2022 · 9 comments

Comments

@SmantikVJ
Copy link

SmantikVJ commented Oct 24, 2022

Hi!
I have an issue with Processing

Description
I have installed Processing 4.0.1. When I close the program and restart again, it shows me this error message:

error

I have changed permission for /Documents/Processing/modes folder, allowing to everybody to write and read, but it doesn't work.

After trying different things, I have found a way to make it work:

  1. Uninstall Processing.
  2. Delete /Documents/Processing folder.
  3. Install Processing.
  4. Run Processing - it says to me that there is no /Documents/Processing folder, so it's going to create it.
  5. While running Processing, I go and change permission allowing to everybody write and read to /Documents/Processing folder. I do the same with every folder that is contained in it.
  6. Now, I can close Processing and restarting with no problem.

I have opened this issue as @SableRaf told me. I think that it's a good idea because, if you fix it, some users will not have this problem.

My Environment

  • Processing version: 4.0.1
  • Operating System and OS version: macOS Big Sur

Possible Solution
Can't you modify /Processing folder permission when Processing creates them?

Thanks.

@SmantikVJ SmantikVJ changed the title Can't restart p Can't restart Processing Oct 24, 2022
@SmantikVJ SmantikVJ changed the title Can't restart Processing Can't restart Processing 4 Oct 24, 2022
@SmantikVJ
Copy link
Author

The method that I described above is not working today. The window of the image attached appears again and Processing doesn't start.
It's frustrating.

@benfry benfry changed the title Can't restart Processing 4 Can't restart Processing 4 because of read/write permissions for the modes folder Nov 4, 2022
@benfry
Copy link
Owner

benfry commented Nov 4, 2022

How did you install Processing? Is it installed as a different user, or have you changed the permissions in any way?

In a Terminal, can you enter:

cd ~/Documents
ls -l | grep Processing

and paste the result here?

Also, this one:

cd ~/Documents/Processing
ls -l

It shouldn't really be possible for you to run an app that creates folders that you don't have permissions to, because when you run Processing, it has the same permissions as you do. So we need to figure out what's happening with that.

And this is on a personal machine, right? Just one OS or are there multiple partitions?

@SmantikVJ
Copy link
Author

Hi, @benfry.
I installed Processing as administrator. I work with my laptop as administrator everytime, so I run Processing as such.
After I installed it, I changed permission for /Documents/Processing folder, allowing to everybody to write and read. I did the same for every subfolder that it contains.

Terminal results for first command:
Captura de pantalla 2022-11-07 a las 10 23 30

Terminal results for second command:
Captura de pantalla 2022-11-07 a las 10 23 59

In this personal machine are two partitions: the first one contains High Sierra macOS 10.13.6 (I use it for 32 bits applications). Later, I installed Big Sur macOS (now is 11.5.2 version) for some applications that require a higher OS, and it is used generally.

Thanks.

@SmantikVJ
Copy link
Author

Hi.
I think I have found the solution.
I have gone to Security & privacy, I have entered user administrator username / Password to unlock the editing screen and inside Privacy tab I have selected "Documents & folders" and let Processing to access (tick was deactivated before). I did the same selecting "Total access to disk".
Now, the window "We're on the wrong foot" does not appear (I didn't have to reinstall Processing).

Thanks, @benfry . With your comment you gave me a clue.

@benfry
Copy link
Owner

benfry commented Nov 11, 2022

You shouldn't have to enable full disk access to use Processing. However, it sounds like an “allow Processing to access your Documents folder?” prompt was shown earlier and you didn't allow access, which later locked you out. Is that possible?

@SmantikVJ
Copy link
Author

Allowing only Documents folder is enough. I tried.
Thanks again.

@benfry
Copy link
Owner

benfry commented Nov 24, 2022

Confirmed that this is what happens when you click “Don't Allow” here:
Screen Shot 2022-11-24 at 4 45 26 PM

@benfry benfry closed this as completed in 443fd89 Nov 24, 2022
@benfry
Copy link
Owner

benfry commented Nov 24, 2022

Added additional warning detail about how to reset permissions for 4.0.2.

@github-actions
Copy link

This issue has been automatically locked. To avoid confusion with reports that have already been resolved, closed issues are automatically locked 30 days after the last comment. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 25, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants