Possible permission denied error on file save

Bug #597493 reported by Steven Sproat
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Whyteboard
Fix Released
High
Steven Sproat

Bug Description

Application writes a wtbd_temp file when saving the file: this could possibly be written to /usr/lib where the program is installed -- and the user lacks permission to write there.

Tags: crash
Steven Sproat (sproaty)
Changed in whyteboard:
status: New → In Progress
importance: Undecided → High
assignee: nobody → Steven Sproat (sproaty)
Steven Sproat (sproaty)
Changed in whyteboard:
status: In Progress → Fix Committed
Steven Sproat (sproaty)
tags: added: crash+
tags: added: crash
removed: crash+
Steven Sproat (sproaty)
Changed in whyteboard:
milestone: none → 0.40.2
Revision history for this message
Marco Clocchiatti (cloc3) wrote :

I also find this bug.
but the wtbd_temp file seems not created in /usr/lib.

it seems created in current `pwd` directory. a tipical way to produce the issue is to start the program from command line (instead of from default menu icon), in this way :

cd / && whyteboard

Revision history for this message
Steven Sproat (sproaty) wrote :

Hi Marco,

I've fixed this bug and it will be out in the release (expected somewhat soon - by the end of the month hopefully)

Steven Sproat (sproaty)
Changed in whyteboard:
status: Fix Committed → Fix Released
Revision history for this message
mabra (maurizio-bracardi) wrote :

I have tried version 0.41.1 in a PC vith Win 7 but also in it there is the some error.
this is the error message:
Whyteboard 0.41.1
Operating System: Windows NT 6.1 (build 7600)
Screen Resolution: 1366x768
Python Version: 2.6.4 (r264:75708, Oct 26 2009, 08:23:19) [MSC v.1500 32 bit (Intel)]
wxPython Version: 2.8.10.1 (msw-unicode)
wxPython Info: (__WXMSW__, wxMSW, unicode, wx-assertions-on, SWIG-1.3.29)
Python Encoding: Default=ascii File=mbcs
wxPython Encoding: utf-8
System Architecture: 32bit x86
Byte order: little
Frozen: windows_exe
#---- End System Information ----#

#---- Preferences ----#
language = Italian
last_opened_dir = C:\Users\Bianca\Desktop\prova

#---- Traceback Info ----#

*** Thu Sep 30 19:43:45 2010 ***
Traceback (most recent call last):
  File "whyteboard\gui\frame.pyo", line 274, in on_save_as
  File "whyteboard\gui\frame.pyo", line 252, in on_save
  File "whyteboard\misc\utility.pyo", line 152, in save_file
  File "whyteboard\misc\utility.pyo", line 173, in write_save_file
IOError: [Errno 13] Permission denied: 'save.data'

#---- End Traceback Info ----#
*** Thu Sep 30 19:43:45 2010 ***
Traceback (most recent call last):
  File "whyteboard\gui\frame.pyo", line 274, in on_save_as
  File "whyteboard\gui\frame.pyo", line 252, in on_save
  File "whyteboard\misc\utility.pyo", line 152, in save_file
  File "whyteboard\misc\utility.pyo", line 173, in write_save_file
IOError: [Errno 13] Permission denied: 'save.data'
Could you make a new version without this bug?
Thanks
Mabra

Revision history for this message
Steven Sproat (sproaty) wrote :

Hmm. where are you trying to save the file to? works fine for me in Win XP
can you save other files to that directory with other programs? vista and win 7 does permission related stuff differently to XP

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.