Index: admin-functions.php =================================================================== --- admin-functions.php (revision 2962) +++ admin-functions.php (working copy) @@ -1510,7 +1510,7 @@ if ( ! file_exists( $path ) ) { if ( ! mkdir( $path ) ) return array('error' => "Unable to create directory $path. Is its parent directory writable by the server?"); - @ chmod( ABSPATH . $path, 0774 ); + @ chmod( ABSPATH . $path, 0755 ); } // Generate the yearly and monthly dirs @@ -1524,14 +1524,14 @@ if ( ! file_exists( $pathy ) ) { if ( ! mkdir( $pathy ) ) return array('error' => "Unable to create directory $pathy. Is $path writable?"); - @ chmod( $pathy, 0774 ); + @ chmod( $pathy, 0755 ); } // Make sure we have a monthly dir if ( ! file_exists( $pathym ) ) { if ( ! mkdir( $pathym ) ) return array('error' => "Unable to create directory $pathym. Is $pathy writable?"); - @ chmod( $pathym, 0774 ); + @ chmod( $pathym, 0755 ); } $uploads = array('path' => $pathym, 'url' => get_option('siteurl') . "/$dir/$y/$m", 'error' => false);