On 2008-07-13, Petter Reinholdtsen wrote: > [Matthias Klose 2008-04-07] > > > If debian-edu is LSB compliant, it can however rely on > > /etc/profile.d/ being read at startup. > > I've tried in Lenny to add a file in /etc/profile.d/ to set the umask, > and this had no effect. I also tried to output some text to see if > the script is executed, and see no sign of it. I've also tried to > find any code using the content in /etc/profile.d/, without any luck. > > This is the test setup: > > guest@localhost:~$ cat /etc/profile.d/debian-edu > echo /etc/profile.d/debian-edu > umask 002 > guest@localhost:~$ ls -l /etc/profile.d/debian-edu > -rwxr-xr-x 1 root root 42 13 juli 17:41 /etc/profile.d/debian-edu > guest@localhost:~$ > > What have I misunderstood? How are the code fragments in > /etc/profile.d/ supposed to work? All I want is to modify the default > umask. :/ they don't work by default, it's one of the instances where Debian does not comply with the lsb (it's documented in /usr/share/doc/lsb- core/README.Debian.gz) -- Cheers, cobaco (aka Bart Cornelis)
Attachment:
signature.asc
Description: This is a digitally signed message part.