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

Re: Setting permissions to new files?



Felipe Sateler wrote:
> Bruno Buys wrote:
> > Konsole and yakuake needed a 'umask 02' added to ~/.bashrc (there
> > was none) to behave well. Neither once was reading ~/.bash_profile, by
> > the way.
> 
> That is because ~/.bash_profile is read on login shells only (unless you
> source it from ~/.bashrc

This is a very old issue that still has not been resolved, despite it
having been closed during the migration from XFree86 to X.org.  Please
read through Bug#250765 for history.

  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=250765

Summary:

cat >$HOME/.xsession <<EOF
#!/bin/bash --login
exec x-session-manager
EOF
chmod a+x $HOME/.xsession

Bob



Reply to: