On Thu, 7 Oct 2010, vla wrote:

> i use kubuntu lucid with ltsp and have a strange problem:
>
> i changed the default create mask from 0022 to 0002 in /etc/profile.
>
> if in kde4 i open a terminal and use another username (kde-su) i get a
> create mask that differs from /etc/profile, namely 0022.
>
> ok, why posting this to ltsp-discuss? because it seeams that all users,
> when logged in via ltsp-terminal have this wrong filemask 0022 too. if
> they create new files in dolphin or Openoffice the filemask is 0022.
>
> If i log in via nx i get the create mask from /etc/profile.

I had similar problem, apart from all that I need to change the default 
umask only for a given group of users. So I have created a file in 
Xsession.d:

# more /etc/X11/Xsession.d/39x11-localesdef
xset dpms 720 780 900
[ -z "$LC_ALL" ] && export LANG=hu_HU
groups |grep -q ^labor && umask 002

(Though, I still had problem with xfce's thunar filemanager: it 
disregarded this  umask, but it was a bug in the version of debian-lenny.
Installing thunar from lenny-backports has solved this issue.)

So, I am not sure if this is the right hack for ubuntu and KDE, and 
whether it works in that environment... but you can give it a try.

--
Zsolt

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net

Reply via email to