<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>144752</bug_id>
          
          <creation_ts>2007-04-27 16:23:49 +0000</creation_ts>
          <short_desc>fails to honor umask when creating directories</short_desc>
          <delta_ts>2007-09-11 15:14:06 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>Unmaintained</classification>
          <product>kaudiocreator</product>
          <component>general</component>
          <version>unspecified</version>
          <rep_platform>Debian testing</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Olivier Vitrat">ovit.debian</reporter>
          <assigned_to name="Gerd Fleischer">gerdfleischer</assigned_to>
          
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>522913</commentid>
    <comment_count>0</comment_count>
    <who name="Olivier Vitrat">ovit.debian</who>
    <bug_when>2007-04-27 16:23:49 +0000</bug_when>
    <thetext>Version:            (using KDE KDE 3.5.6)
Installed from:    Debian testing/unstable Packages

Reported in Debian BTS at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=420830

I use set GID (g+s) in my music library to share files. All users have a
login umask of 002 (g+w) yet kaudiocreator constantly creates directories
022 (g-w), i.e. no group write.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>545518</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Lärkäng">larkang</who>
    <bug_when>2007-09-11 15:14:06 +0000</bug_when>
    <thetext>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(&apos;/&apos;,-1);
 	if ( lastSlash == -1 ||
-			!(KStandardDirs::makeDir( desiredFile.mid(0,lastSlash))) ) {
+			!(KStandardDirs::makeDir( desiredFile.mid(0,lastSlash), 0775)) ) {
 		KMessageBox::sorry(0, i18n(&quot;Cannot place file, unable to make directories.&quot;), i18n(&quot;Encoding Failed&quot;));
 		emit jobsChanged();
 		updateProgress(job-&gt;id, -1);
</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>