[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Sheflug] Umask & KDE
> I have also set up user private groups for the different users & used setguid
> on the directories. This seems to work OK for files created from a shell,
> where the default umask has been set to 002 (in /etc/profile.local). However,
> files created from Konqueror on the server don't seem to obey the umask
> settings - they get 644 against 664 so it looks like a umask of 022 is being
> used by KDE. I gather that KDE is supposed to get its setting from the
> profile & can't find any other place to change it.
[note ... not a KDE user ... :) ]
Now I'd suspect it depends how you start X - do you use XDM (or equivalent) or
the startx script? If the XDM method, then KDE will be spawned by the
global Xsession or your local $HOME/.xsession script, so KDE will inherit
its environment from this and not $USER's .profile/.cshrc/.login/.bash_profile/
etc ... thus you'd need to stick the umask in there.
Now if KDE comes with its own session manager akin to XDM (I seem to
remember reading/hearing about a KDM?) There maybe an alternative script
that serves the same purpose as .xsession that is used to set up the KDE
environment, so may need some digging.
If startx (login at text console, then run "startx"), umask should be
inherited from the login. If it isn't, it may be worth looking at the file
.xinitrc and adding the umask to that.
Just some ideas of where to look ...
Chris...
--
\ Chris Johnson \ NP: Enya - 02. Caribbean Blue
\ cej [at] nightwolf.org.uk ~-----,
\ http://cej.nightwolf.org.uk/ ~-----------------------------------,
\ Redclaw chat - http://redclaw.org.uk - telnet redclaw.org.uk 2000 \____
___________________________________________________________________
Sheffield Linux User's Group -
http://www.sheflug.co.uk/mailfaq.html
GNU the choice of a complete generation.