Item9925: ChartPlugin changes the umask to hardcoded 002 - which can break other extensions.
Priority: Urgent
Current State: Closed
Released In: n/a
Target Release: n/a
ChartPlugin should set the
umask
to 777 - {RCS}{dirPermissions}
ChartPlugin.pm and
ChartPlugin/Chart.pm both set umask to 002. This will cause directories created by other extensions to potentially have broader permissions than intended by the configure settings.
Suggested code:
umask( oct(777) - $Foswiki::cfg{RCS}{dirPermission} );
--
GeorgeClark - 30 Oct 2010
Better would be to fix it to use the Func API to save attachments, instead of hacking them.
--
CrawfordCurrie - 17 Apr 2011