Menu

#58 Setting permissions for new thumbnails

Core Class
closed-fixed
Code/Logic (73)
5
2005-03-02
2005-02-04
No

Permissions are not set for newly created thumbnails on
photoalbum on a clean install. This patch fixs thisThis
is easiest to fix in makeThumbnail in core/File.php.
Anyhoo, here's a patch to correct it. It's only one
line, but it's easier to use patch than an editor. I've
also filed this in the bugs section.

--- File.php.orig 2005-02-04 20:24:31.000000000 +1100
+++ File.php 2005-02-04 20:43:00.000000000 +1100
@@ -419,6 +419,8 @@
break;
}

+ PHPWS_File::setFilePermissions($tndirectory .
$thumbnailFileName);
+
return array($thumbnailFileName, $thumbnailWidth,
$thumbnailHeight);

} // END FUNC makeThumbnail()

Discussion

  • Anonymous

    Anonymous - 2005-03-02

    Logged In: YES
    user_id=400519

    thank you. this has been added

     
  • Anonymous

    Anonymous - 2005-03-02
    • status: open --> closed-fixed
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.