[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: rc scripts, umask and 2.4 kernels



>>>>> "Edward" == Edward Betts <edward@debian.org> writes:

Edward> Jason Thomas <jason@topic.com.au> wrote:
>> is this what your looking for.
>> 
>> 2.4.5-ac6 o Force initial umask to be sane for broken (Andrew
>> Tridgell) init programs

Edward> Does that imply that our init is broken? Should we fix it?

Bug already submitted: #96561

As a workaround, put the following in /etc/initscript (make it
executable):

  umask 022
  eval exec "$4"

You might still end up with world-writable files: this doesn't work
for processes started directly by the kernel (mostly affects kmod
stuff).

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: <ggeens@iname.com> - Work: <ggeens@capgemini.be>
WWW: http://users.pandora.be/guy.geens/
  ``I was thinking about how everyone was dying
    and maybe it's time to live.''              - Eels



Reply to: