Bug#680658: collectd - rrd module takes umask a bit too serious

2012-07-08 Thread Sebastian Harl
Hi,

On Sat, Jul 07, 2012 at 10:09:40PM +0200, Bastian Blank wrote:
 The rrdtool module creates all stuff using the umask of the process. So
 depending on the environment, directories are readable, writable or
 nothing:
 
 | drwxr-x---  2 root root 4096 Jun 28 18:43 uptime/
 | drwxr-xr-x  2 root root 4096 Jun 28 16:12 users/

Hrm, I fail to see why this is a bug in collectd. Imho, this is the
expected behavior and I suppose most software behaves like that. It
might make sense to explicitly set the umask in the init script, though.

Cheers,
Sebastian

-- 
Sebastian tokkee Harl +++ GnuPG-ID: 0x8501C7FC +++ http://tokkee.org/

Those who would give up Essential Liberty to purchase a little Temporary
Safety, deserve neither Liberty nor Safety. -- Benjamin Franklin



signature.asc
Description: Digital signature


Bug#680658: collectd - rrd module takes umask a bit too serious

2012-07-07 Thread Bastian Blank
Source: collectd
Version: 5.1.0-2
Severity: important

The rrdtool module creates all stuff using the umask of the process. So
depending on the environment, directories are readable, writable or
nothing:

| drwxr-x---  2 root root 4096 Jun 28 18:43 uptime/
| drwxr-xr-x  2 root root 4096 Jun 28 16:12 users/

Bastian

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.4-trunk-686-pae (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org