| Summary: | fails to honor umask when creating directories | ||
|---|---|---|---|
| Product: | [Unmaintained] kaudiocreator | Reporter: | Olivier Vitrat <ovit.debian> |
| Component: | general | Assignee: | Gerd Fleischer <gerdfleischer> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Debian testing | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Olivier Vitrat
2007-04-27 16:23:49 UTC
SVN commit 711111 by larkang:
Allow creating group writable directories if umask permits it
BUG: 144752
M +1 -1 encoder.cpp
--- branches/KDE/3.5/kdemultimedia/kaudiocreator/encoder.cpp #711110:711111
@@ -187,7 +187,7 @@
int lastSlash = desiredFile.findRev('/',-1);
if ( lastSlash == -1 ||
- !(KStandardDirs::makeDir( desiredFile.mid(0,lastSlash))) ) {
+ !(KStandardDirs::makeDir( desiredFile.mid(0,lastSlash), 0775)) ) {
KMessageBox::sorry(0, i18n("Cannot place file, unable to make directories."), i18n("Encoding Failed"));
emit jobsChanged();
updateProgress(job->id, -1);
|