After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 504469 - Dia can't save with default options
Dia can't save with default options
Status: RESOLVED FIXED
Product: dia
Classification: Other
Component: win32
0.96.1
Other All
: Normal normal
: 0.97
Assigned To: Steffen Macke
Dia maintainers
: 436958 545296 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2007-12-19 14:19 UTC by Chris Nelson
Modified: 2008-07-29 18:34 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Chris Nelson 2007-12-19 14:19:59 UTC
Please describe the problem:
After installing dia 0.96.1 on 'Windows XP, trying to save a document leads to a dialog saying, "No allowed to write temporary files in C:\Documents and Settings\user\My Documents".  There is no problem saving to the user's Desktop.

Steps to reproduce:
1. Run 0.96.1 on 'Windows XP
2. Create a document
3. Try to save it


Actual results:
An error dialog is displayed: No allowed to write temporary files in C:\Documents and Settings\user\My Documents

Expected results:
The file saves without an error message.

Does this happen every time?
Yes.

Other information:
Comment 1 Robert Ramsdell 2008-01-03 15:44:57 UTC
I am getting this same bug with version 0.96.1.  It will not let me save to the following folders (copied from message box):

No allowed to write temporary files in C:\Documents and Settings\RCRamsdell\My Documents\
No allowed to write temporary files in C:\Documents and Settings\RCRamsdell\My Documents\My Pictures\
No allowed to write temporary files in C:\Documents and Settings\RCRamsdell\My Documents\My Videos\

I can however save to the following folders:
C:\
C:\New Folder  <== created by me
C:\Documents and Settings\RCRamsdell\My Documents\WeeklyGraphs  <== Created by me
C:\Documents and Settings\RCRamsdell\My Documents\Dia  <== Created by me

So the workaround is to create a folder to save the diagrams in.
Comment 2 Hans Breuer 2008-03-09 19:38:10 UTC
2008-03-09  Hans Breuer  <hans@breuer.org>

	* app/load_save.c(diagram_data_save) : not using g_access() because
	'My Documents' is write protected by default on XP but still can 
	contain writable files. With extended security attributes becoming
	more common this change may even become necessary for *nix?
	Fixes bug #504469.
Comment 3 Hans Breuer 2008-04-12 10:11:56 UTC
*** Bug 436958 has been marked as a duplicate of this bug. ***
Comment 4 Hans Breuer 2008-07-29 18:34:03 UTC
*** Bug 545296 has been marked as a duplicate of this bug. ***