2009/8/12 Rafał Kupka <[email protected]>: > On Wed, Aug 12, 2009 at 03:20:29PM +0200, Andrew Beekhof wrote: >> 2009/8/12 Ante Karamatić <[email protected]>: > Hello, > >> > Andrew Beekhof wrote: >> > >> >> For .../crm that should be enough. >> >> Can you confirm for heartbeat? >> > >> > I reposonded over my phone so I wasn't able to check it out. Here are >> > the real findings: >> > >> > d-wxr-xr-T 2 hacluster haclient 140 2009-08-12 14:17 /var/run/crm/ > > 748 decimal. It's from 750 decimal and umask 0002. It looks like there > is missing leading zero in some constant value in code. > >> here I have: >> >> drwxr-x--- 2 hacluster haclient 4096 Aug 7 19:48 /var/run/crm >> drwxr-xr-x 4 root root 4096 Aug 7 19:49 /var/run/heartbeat >> >> which is what i'd expect based on the code. > > I don't have time to look into code, sorry. Maybe it is from > mkdir (..., 750) instead of mkdir (..., 0750)?
can someone add a leading zero and let me know if it helps? >> perhaps write a small program that uses mkdir() and chmod() and see if >> you can get it to behave correctly. >> because it looks like its not processing the 755 and 750 mode argument >> correctly. > > Regards, > Kupson > -- > Great software without the knowledge to run it is pretty useless. > (Linux Gazette #1) > > _______________________________________________ > Pacemaker mailing list > [email protected] > http://oss.clusterlabs.org/mailman/listinfo/pacemaker > _______________________________________________ Pacemaker mailing list [email protected] http://oss.clusterlabs.org/mailman/listinfo/pacemaker
