--- kpacman-0.3.2/kpacman/main.cpp~ 2003-10-01 19:59:11 +0400 +++ kpacman-0.3.2/kpacman/main.cpp 2003-10-01 20:06:46 +0400 @@ -15,6 +15,8 @@ * * ***************************************************************************/ +#include + #include #include #include @@ -47,8 +49,13 @@ KCmdLineArgs::init( argc, argv, &aboutData ); KCmdLineArgs::addCmdLineOptions( options ); // Add our own options. + gid_t gid = getgid(), egid = getegid(); + setresgid(gid,gid,egid); + KApplication app; + setegid(egid); + KpacmanApp *kpacman = new KpacmanApp(); kpacman->show();