Author Topic: PI writing error on exit  (Read 1391 times)

Offline JFKoenig

  • Newcomer
  • Posts: 7
PI writing error on exit
« on: 2017 September 11 23:20:47 »
Hello
after updating PI to PI 01.08.05.1352 Riple(x64) on a ubuntu 16.04 machine

if I launch PI  with its icon
or by /usr/share/application/PixInsight
I got writing error when I close PI
error writing setting data (int) or error writing setting data (string)

if I launch it under sudo nautilus  /usr/share/application/PixInsight it work normaly

I suppose it is an permissions problem by I dont know how to resolve it!

Offline JFKoenig

  • Newcomer
  • Posts: 7
Re: PI writing error on exit
« Reply #1 on: 2017 September 14 06:23:22 »
I solved my problem by searching all the pixinsigth files and changing the owner ( to me) and given them all permission

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Re: PI writing error on exit
« Reply #2 on: 2017 September 22 01:28:05 »
This is a very anomalous situation that never happens on Linux under normal installation and working conditions. The errors you are reporting:

Quote
error writing setting data (int) or error writing setting data (string)

denote that your current user does not have write permissions on the corresponding home directory, which is wrong.

Quote
I solved my problem by searching all the pixinsigth files and changing the owner ( to me) and given them all permission

Please note that the owner of *all* files in /opt/PixInsight should always be root, since /opt is a system directory reserved for installed applications. Changing ownership as you have described is dangerous.
Juan Conejero
PixInsight Development Team
http://pixinsight.com/