[Bug 264749] KDE should execute scripts in .kde/env only if they have the executable permission set
Jekyll Wu
adaptee at gmail.com
Sat Jul 9 16:02:11 BST 2011
https://bugs.kde.org/show_bug.cgi?id=264749
Jekyll Wu <adaptee at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |adaptee at gmail.com
--- Comment #1 from Jekyll Wu <adaptee gmail com> 2011-07-09 15:02:11 ---
I think you misunderstood the purpose of those files under ~/.kde4/env.
They are used for setting up extra environment variables for your KDE session.
So they will and have to be *sourced*, not *executed*, by /usr/bin/startkde.
The
detail is listed below :
libpath=`kde4-config --path lib | tr : '\n'`$(echo -e '\n/etc/kde/lib/')
for prefix in `echo "$libpath" | sed -n -e 's,/lib[^/]*/,/env/,p'`; do
for file in "$prefix"*.sh; do
test -r "$file" && . "$file"
done
done
So only read permission matters, and execution permission does not make
difference.
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Unassigned-bugs
mailing list