processing4 icon indicating copy to clipboard operation
processing4 copied to clipboard

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

Open SmantikVJ opened this issue 4 years ago • 9 comments

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 avatar Oct 24 '22 09:10 SmantikVJ

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.

SmantikVJ avatar Oct 25 '22 17:10 SmantikVJ

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?

benfry avatar Nov 04 '22 20:11 benfry

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 avatar Nov 07 '22 09:11 SmantikVJ

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.

SmantikVJ avatar Nov 10 '22 08:11 SmantikVJ

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?

benfry avatar Nov 11 '22 16:11 benfry

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

SmantikVJ avatar Nov 11 '22 18:11 SmantikVJ

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

benfry avatar Nov 24 '22 21:11 benfry

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

benfry avatar Nov 24 '22 22:11 benfry

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[bot] avatar Dec 25 '22 06:12 github-actions[bot]