[rrd-developers] SVN 1618: wrong file permission on new rrd files
Joerg Linge
pitchfork at pnp4nagios.org
Sat Oct 18 16:00:08 CEST 2008
Hi List,
i have recognised an issue with current SVN trunk revision 1618.
rrdtool create results in new rrd files with file permissions of 0600
instead of 0644 based on the umask.
Example created with shared-demo.pl trunk 1618
nagios at nagiosbook:~/shared-demo$ ls -la
total 528
drwxr-xr-x 2 nagios nagios 4096 2008-10-18 15:45 .
drwxr-xr-x 3 nagios nagios 4096 2008-10-18 15:38 ..
-rwxr-xr-x 1 nagios nagios 5670 2008-10-18 15:33 shared-demo-1.3.4.pl
-rw-r--r-- 1 nagios nagios 26447 2008-10-18 15:45 shared-demo1.png
-rw-r--r-- 1 nagios nagios 26447 2008-10-18 15:45 shared-demo2.png
-rw------- 1 nagios nagios 222308 2008-10-18 15:45 shared-demob.rrd
-rw------- 1 nagios nagios 222308 2008-10-18 15:45 shared-demo.rrd
Example with with shared-demo.pl 1.3.4
nagios at nagiosbook:~/shared-demo$ ls -rtl
total 520
-rwxr-xr-x 1 nagios nagios 5670 2008-10-18 15:32 shared-demo-trunk.pl
-rwxr-xr-x 1 nagios nagios 5670 2008-10-18 15:33 shared-demo-1.3.4.pl
-rw-r--r-- 1 nagios nagios 222304 2008-10-18 15:47 shared-demo.rrd
-rw-r--r-- 1 nagios nagios 222304 2008-10-18 15:47 shared-demob.rrd
-rw-r--r-- 1 nagios nagios 26430 2008-10-18 15:47 shared-demo2.png
-rw-r--r-- 1 nagios nagios 26430 2008-10-18 15:47 shared-demo1.png
nagios at nagiosbook:~/shared-demo$ umask
0022
Kind regards
Joerg
More information about the rrd-developers
mailing list