bugPSPP - Bugs: bug #21117, Crashes if no write permission on...

 
 

bug #21117: Crashes if no write permission on current directory.

Submitter:  John Darrington <jmd>
Submitted:  Wed 19 Sep 2007 06:03:37 AM UTC
   
 
Category:  Output Driver Severity:  5 - Average
Status:  Fixed Assigned to:  blp
Open/Closed:  Closed Release:  Before 0.6.0
Effort:  0.00
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 21 Sep 2007 02:13:04 PM UTC, comment #3: 


>Let's run with this patch for now.


OK, I committed it.  Thanks!

Ben Pfaff <blp>
Group administrator
Fri 21 Sep 2007 06:03:14 AM UTC, comment #2: 

Let's run with this patch for now.

John Darrington <jmd>
Group administrator
Fri 21 Sep 2007 04:54:09 AM UTC, comment #1: 


>Maybe these should be created elsewhere? or how should it proceed
>in this situation.


One option is to just report the error and continue working.  I'm not sure that this is the best option, but it is easy to implement.

Here's a patch, with regression test.  It is valgrind-clean.

(file #14001)

Ben Pfaff <blp>
Group administrator
Wed 19 Sep 2007 06:03:37 AM UTC, original submission:  

If one tries to use pspp or psppire with no permission to create files in the current directory, it quickly crashes.

pspp: error creating "pspp.jnl": Permission denied
pspp: ascii: opening output file "pspp.list": Permission denied

Maybe these should be created elsewhere? or how should it proceed in this situation.

John Darrington <jmd>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by blp (Updated the item)
  • -email is unavailable- added by jmd (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2007-09-21 blp StatusReady for Test/Review Fixed
        Open/ClosedOpen Closed
    2007-09-21 jmd Assigned toNone blp
    2007-09-21 blp Attached File- Added unwritable-directory-bugs.patch, #14001
        StatusNone Ready for Test/Review
    2007-09-19 jmd ReleaseNone Before 0.6.0

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code