Bug 129402 - kaudiocreator allows the user to select a temporary directory the user does not have write access to, resulting in a crash
Summary: kaudiocreator allows the user to select a temporary directory the user does n...
Status: RESOLVED FIXED
Alias: None
Product: kaudiocreator
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Gerd Fleischer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-19 06:02 UTC by Tim Wunder
Modified: 2018-10-30 17:11 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Wunder 2006-06-19 06:02:20 UTC
Version:           1.13 (using KDE KDE 3.5.3)
Installed from:    Unspecified Linux
OS:                Linux

May be related to http://bugs.kde.org/show_bug.cgi?id=127739, although the reporter of that bug says that they had write permission to the directory in question.

Steps to duplicate.

Attempt to select a directory as the temp directory to that you do not have write access to. You are warned that you cannot enter that directory, but you can still select it. Once it is selected, the user can press Apply to set the directory as the temporary location. If the user does not have write access to the temporary location, kaudiocreator crashes.

I discoverd this problem accidentally after migrating from a crashed hard drive, permissions were not set correctly on the temporary directory used by kaudiocreator. Still, kaudiocreator should handle not being able to write to the temp location in a more gracefil manner.
Comment 1 Jörg Habenicht 2006-08-05 13:12:26 UTC
Can confirm this.
Version 1.13, KDE 3.5.2
Testcase:
+ Start kaudiocreator, assign a different tmp directory, close kaudiocreator.
+ Now remove write permissions from tmp dir OR fill disc space up until 0 bytes left for user.
+ Start kaudiocreator (starts normal), insert CDaudio (ok), start ripping (not ok). 2 messages are shown for a fraction of a second, then kaudiocreator crashes.
Maybe a timer event tries to work on deleted memory?

Error message is OK, application should not crash.
Comment 2 Gerd Fleischer 2011-06-05 22:12:58 UTC
since 1.2.90 tmp is checked for write access, can you please test (if you still still using kaudiocreator).
Comment 3 Tim Wunder 2011-06-06 06:37:33 UTC
No crash using current kaudiocreator 1.2.90 on Fedora 14.

On 06/05/2011 04:13 PM, Gerd Fleischer wrote:
> https://bugs.kde.org/show_bug.cgi?id=129402
>
>
>
>
>
> --- Comment #2 from Gerd Fleischer<gerdfleischer web de>   2011-06-05 22:12:58 ---
> since 1.2.90 tmp is checked for write access, can you please test (if you still
> still using kaudiocreator).
>
Comment 4 Andrew Crouthamel 2018-10-29 22:24:54 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Tim Wunder 2018-10-30 17:11:06 UTC
Much like comment #3, made in 2011, there is no longer a crash when the default temp directory defined becomes un-writable, using 1.3 on Fedora 28.

Essentially followed the steps outlined in comment #1.

Attempting to mark status as RESOLVED/FIXED