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

Bug#250645: umask+environment: still problems with ksmserver-3.4.2-4



Package: kde
Followup-For: Bug #250645


Still sweating for the effort... I'm starting a KDE session from GDM,
found no way to change the default umask (by specifying a different
umask in ~/.bash_profile and ~/.bashrc to it I can get new files with the
expected umask from any bash console, but there is absolutely no way to
get an identical behaviour from kde's file manager, which always creates
0644 files).

Analyzing /usr/bin/startkde I noticed that it looks for *.sh scripts to
source in ~/.kde/env, /usr/env, /usr/local/env: by adding a simple
umask.sh script in my ~/.kde/env I solved my problem; this could be a way
to solve this issue: all those who are willing to have identical
behaviour in KDE as in other environments should then be able to source
their ~/.profile or ~/.bash_profile from there.

Hope it helps.

Bye - Mau

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (200, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14-1-686
Locale: LANG=it_IT@euro, LC_CTYPE=it_IT@euro (charmap=ISO-8859-15)



Reply to: