[gnucash-de] Fehler bei GnuCash

Christian Stimming stimming at tuhh.de
Don Aug 14 00:23:22 CDT 2003


-----BEGIN PGP SIGNED MESSAGE-----

On Mittwoch, 13. August 2003 22:18, Tobias Krais wrote:
> Hallo zusammen,
>
> nach langer Zeit bin ich mal wieder zum buchen gekommen und promt auf
> folgenden Fehler gestossen. Die Zugriffsrechte auf meine GnuCash-Datei
> haben sich aus irgend einem Grund geändert. Wenn ich dann speichern wollte
> hat GnuCash nicht gespeichert, ohne mich zu warnen. Auf der Konsole habe
> ich folgende Fehlermeldung bekommen:
>
> Warning: gnc_file_be_write_to_file: unable to chmod filename
> /win/eigeneDat/GNUCash/Haushalt: Operation not permitted
>
> Wäre es nicht angebracht hier eine graphische Fehlermeldung zu bringen,
> dass das Speichern fehlgeschlagen ist?

Da hat sich was getan. Das ChangeLog hat untenstehenden Eintrag. Also wird im 
kommenden 1.8.5 (diesen Sonntag) dieses bereits verbessert sein.

Christian


2003-07-26  Derek Atkins  <derek at ihtfp.com>

	* src/backend/file/gnc-backend-file.c: don't make the chmod() and
	  chown() functions fatal errors.  Warn the user if they fail, but
	  don't fail to save.  In the long run we need some way to pop up
	  warning messages from a backend, but until then we'll have to
	  stick with PWARN() and hope users see the console.
	Fixes #118258

	* src/app-file/gnc-file.c: fix the message to be more appropriate
	  when we hit a READONLY error.
	* src/backend/file/gnc-backend-file.c: return ERR_BACKEND_READONLY
	  on save if the XML write fails and the unlink() fails with
	  ENOENT, EPERM, EROFS, or EACCES.


>
> Grüssle, Tobias
> _______________________________________________
> gnucash-de mailing list
> gnucash-de at lists.gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-de
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)

iQCVAwUBPzqsUGXAi+BfhivFAQHemQQAoZVz5rXkqpC39tjGOK1lfoTbADE7tz8D
rcZBnpv5Xnp5XW5TCerJgxBVkL/CaxOc3LaHjNR0fIt9YDAIthJpJYqQPTjxMhR2
iPG1S+mOk/+ixzu55tkZmrUtHCXnNYxVM+K02apCtai6w6HcUZmy2yPnbhZcthfR
YpOiFX4C7Ho=
=eqDE
-----END PGP SIGNATURE-----