Bug 217543 - A bug in kde-runtime/kdesu/kdesud/CMakeLists.txt install script (chgrp: invalid group: `nogroup')
Summary: A bug in kde-runtime/kdesu/kdesud/CMakeLists.txt install script (chgrp: inval...
Status: REPORTED
Alias: None
Product: kdesu
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kdesu bugs tracker
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-06 10:54 UTC by Artem S. Tashkinov
Modified: 2020-06-06 12:12 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Linux specific patch to solve this problem. (790 bytes, patch)
2010-01-26 15:42 UTC, Artem S. Tashkinov
Details
(Perhaps broken) patch to check for which group to change kdesud to (1.51 KB, patch)
2010-07-12 04:53 UTC, Michael Pyne
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Artem S. Tashkinov 2009-12-06 10:54:24 UTC
Version:            (using Devel)
OS:                Linux
Installed from:    Compiled sources

While installing kdebase-runtime 4.4 beta 1, I've faced this bug:

make install
... cut ...

chgrp: invalid group: `nogroup'
running /usr/bin/cmake -E create_symlink oxygen /opt/kde4/share/icons/default.kde4  2>&1
Done installing.

My distributive is Fedora 12. There's no 'nogroup' group here.
Comment 1 Artem S. Tashkinov 2010-01-26 15:42:27 UTC
Created attachment 40259 [details]
Linux specific patch to solve this problem.

The correct solution will be to cmake'fy kdebase-runtime/kdesu/configure.in.in script.
Comment 2 Artem S. Tashkinov 2010-07-11 02:38:20 UTC
Still there in KDE 4.5RC2.
Comment 3 Michael Pyne 2010-07-12 04:53:11 UTC
Created attachment 48785 [details]
(Perhaps broken) patch to check for which group to change kdesud to

I tried giving it a go at a proper CMake-style porting of the configure.in.in (which just looks for nogroup, nobody, or gives up and manually uses a group of 65534). It even allows the user to change the group name manually. BUT the CMake install isn't actually expanding my new KDESUD_GROUP setting from what I can tell, because the final chgrp command is getting executed like "chgrp '' '/path/to/kdesud'" (where the KDESUD_GROUP is being expanded to nothing, the single quotes are in the command line). The entry is definitely making it into the cache though.

Maybe someone else can figure out why this patch doesn't actually work?
Comment 4 Artem S. Tashkinov 2010-11-27 16:56:31 UTC
I wonder why this bug is still unfixed.

I'm talking about KDE SVN snapshot.
Comment 5 Andrew Crouthamel 2018-11-09 01:06:44 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 6 Artem S. Tashkinov 2018-11-09 01:30:31 UTC
I'm looking at kde-runtime-17.08.3/kdesu/kdesud/CMakeLists.txt and I see:

    EXECUTE_PROCESS(COMMAND sh -c \"chgrp nogroup '\${KDESUD_PATH}' && chmod g+s '\${KDESUD_PATH}'\")

so I presume this bug is still not fixed. Wow.
Comment 7 Andrew Crouthamel 2018-11-09 01:33:00 UTC
Thanks for the update!
Comment 8 Artem S. Tashkinov 2020-06-06 12:12:27 UTC
Still not fixed:

https://github.com/KDE/kde-runtime/blob/master/kdesu/kdesud/CMakeLists.txt