Summary: | bash started by konsole does not execute ~/.bash_profile | ||
---|---|---|---|
Product: | Sisyphus | Reporter: | Denis Filimonov <denis> |
Component: | kde4base-konsole | Assignee: | Sergey V Turchin <zerg> |
Status: | CLOSED DUPLICATE | QA Contact: | qa-sisyphus |
Severity: | normal | ||
Priority: | P2 | ||
Version: | unstable | ||
Hardware: | all | ||
OS: | Linux |
Description
Denis Filimonov
2008-11-06 03:43:55 MSK
I think I figured out what happened. /usr/lib/kde4bin/konsole has setgid flag (utemper group) and it executes shell with the user's real gid and utemper effective gid. According to bash manual page ``If the shell is started with the effective user (group) id not equal to the real user (group) id, and the -p option is not supplied, no startup files are read...'' I believe konsole should do setegid(getgid()) before executing the shell. *** This bug has been marked as a duplicate of bug 16860 *** (In reply to comment #1) > ``If the shell is started with the effective user (group) id not equal to the real user (group) id, and the > -p option is not supplied, no startup files are read...'' Спасибо за наводку |