Le jeudi 7 octobre 2010 11:15:43, vla a écrit :
> Hi,
> 
> 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.
> 
> Any ideas?

in Debian and Ubuntu, the use of pam_umask is recommended
(even if documentation (man pages) says something different ;-)

- you may need to install some pam related package
- you need to set umask in /etc/pam.d/common-session like this:
session optional        pam_umask.so    umask=0002
close all sessions and relaunch login manager (xdm, ldm, whatever, ...)
- check every ~/.profile (used for shell logins) and /etc/skel/.profile

note however that umask options in /etc/profile superced pam_umask for shell 
logins (and ssh, sudo, etc.)

Xavier
xav...@alternatif.org

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_____________________________________________________________________
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