[ClusterLabs] crm_mon -h (writing to a html-file) not showing all desired information and having trouble with the -d option

Lentes, Bernd bernd.lentes at helmholtz-muenchen.de
Mon May 8 12:51:47 EDT 2017



----- On May 8, 2017, at 6:44 PM, Ken Gaillot kgaillot at redhat.com wrote:


>> 
>> This is the file without -d:
>> 
>> ha-idg-2:/srv/www/hawk/public # stat crm_mon.html
>>   File: `crm_mon.html'
>>   Size: 1963            Blocks: 8          IO Block: 4096   regular file
>> Device: 1fh/31d Inode: 7082        Links: 1
>> Access: (0644/-rw-r--r--)  Uid: (    0/    root)   Gid: (    0/    root)
>> Access: 2017-05-08 18:03:25.695754151 +0200
>> Modify: 2017-05-08 18:03:20.875680374 +0200
>> Change: 2017-05-08 18:03:20.875680374 +0200
>> 
>> 
>> Same file with crm_mon -d:
>> 
>> ha-idg-2:/srv/www/hawk/public # stat crm_mon.html
>>   File: `crm_mon.html'
>>   Size: 1963            Blocks: 8          IO Block: 4096   regular file
>> Device: 1fh/31d Inode: 7084        Links: 1
>> Access: (0640/-rw-r-----)  Uid: (    0/    root)   Gid: (    0/    root)
> 
> The "other" bit is gone, is that it?
> 
>> Access: 2017-05-08 18:04:16.048524856 +0200
>> Modify: 2017-05-08 18:04:16.048524856 +0200
>> Change: 2017-05-08 18:04:16.048524856 +0200
>>  Birth: -
>> 

You are right. I oversaw that. That must be the reason.
lighttpd is running as user lighttpd, so it needs the "other" permission.

Bernd
 

Helmholtz Zentrum Muenchen
Deutsches Forschungszentrum fuer Gesundheit und Umwelt (GmbH)
Ingolstaedter Landstr. 1
85764 Neuherberg
www.helmholtz-muenchen.de
Aufsichtsratsvorsitzende: MinDir'in Baerbel Brumme-Bothe
Geschaeftsfuehrer: Prof. Dr. Guenther Wess, Heinrich Bassler, Dr. Alfons Enhsen
Registergericht: Amtsgericht Muenchen HRB 6466
USt-IdNr: DE 129521671





More information about the Users mailing list