You are not logged in.

#1 2018-10-16 05:13:49

pokoj42bnaintru
Guest

Arduino cannot write data to folder, where is Arduino IDE installed

Hi.

How to give write permissions for the software?

I created folder inside Arduino IDE and the Arduino IDE should write some data to this folder, but Arduino reports error:

Could not write preferences file: /usr/share/arduino/portable/preferences.txt (Permission denied)

I have already:

chmod +w /usr/share/arduino/arduino <= software
chmod +w /usr/share/arduino/portable <= folder

What can I have to do?

#2 2018-10-16 05:22:08

headkase
Member
Registered: 2011-12-06
Posts: 1,976

Re: Arduino cannot write data to folder, where is Arduino IDE installed

Why is that software trying to write in a restricted location?  As you see you don't have permissions there and your regular user shouldn't so there is something wonky in the configuration.

Edit: The "portable" is a clue.  Put the software folder within your user's home folder.  Then perhaps it'll work.  It really should be a proper package and not portable if it's going to live outside of your home though.

Last edited by headkase (2018-10-16 05:23:23)

Offline

Board footer

Powered by FluxBB