var x, y;
img = getImage("placeholder");
x = getImagePageLeft(img);
y = getImagePageTop(img);
There are currently, 45 guest(s) and 4 member(s) that are online.
You are Anonymous user. You can register for free by clicking here.
Debian umask VS Kernel umask Contributed by Anonymous on Sunday, June 10 @ 10:11:40 BST
Recent 2.4 kernels seem to set a umask of 000 at boot which is
inherited evidently by init and all its children who choose not to
change it. This results in several daemons creating mode 0666 .pid
files among other things (see bug reports against ud and sshd among
rob: Is this a big security risk?
I think this is broken behavior on the kernel's part, a 000
umask is never a sane default IMHO. It seems however that its not
going to be fixed (I remember some mention about it somewhere but
can't find it).
I looked at debian's rc scripts and /etc/init.d/rcS already sets the
umask to 022, and its responsible for kicking off the rest of the boot
process, So why do daemons like sshd and such still end up with a 000
umask? What can/should be done about this?