Item9925: ChartPlugin changes the umask to hardcoded 002 - which can break other extensions.

pencil
Priority: Urgent
Current State: Closed
Released In: n/a
Target Release: n/a
Applies To: Extension
Component: ChartPlugin
Branches:
Reported By: GeorgeClark
Waiting For:
Last Change By: CrawfordCurrie
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

 

ItemTemplate edit

Summary ChartPlugin changes the umask to hardcoded 002 - which can break other extensions.
ReportedBy GeorgeClark
Codebase trunk
SVN Range
AppliesTo Extension
Component ChartPlugin
Priority Urgent
CurrentState Closed
WaitingFor
Checkins ChartPlugin:01aeda902df3
TargetRelease n/a
ReleasedIn n/a
Topic revision: r3 - 17 Apr 2011, CrawfordCurrie
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy