Re: [Pacemaker] crm_mon --as-html default permissions

2014-02-21 Thread Marko Potocnik
I found the umask code after further inspection. Solution was chmod from php right before html output from crm_mon is read. On Tue, Feb 18, 2014 at 1:38 AM, Andrew Beekhof wrote: > > On 12 Feb 2014, at 9:53 pm, Marko Potocnik > wrote: > > > Hi, > > > > I've upgraded from pacemaker-1.1.7-6.el6.

Re: [Pacemaker] crm_mon --as-html default permissions

2014-02-17 Thread Andrew Beekhof
On 12 Feb 2014, at 9:53 pm, Marko Potocnik wrote: > Hi, > > I've upgraded from pacemaker-1.1.7-6.el6.x86_64 to > pacemaker-1.1.10-14.el6_5.2.x86_64. > I use crm_mon with --as-html option to get the cluster status in html file. > I've noticed that the permissions for file have changed from 644

[Pacemaker] crm_mon --as-html default permissions

2014-02-12 Thread Marko Potocnik
Hi, I've upgraded from pacemaker-1.1.7-6.el6.x86_64 to pacemaker-1.1.10-14.el6_5.2.x86_64. I use crm_mon with --as-html option to get the cluster status in html file. I've noticed that the permissions for file have changed from 644 to 640. Looking at source code I see that umask is set to reflect