chown: invalid group: ‘root:root’

Non release banter
User avatar
francois
Contributor
Contributor
Posts: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

chown: invalid group: ‘root:root’

Post#1 by francois » 03 Jan 2014, 14:50

Trying to build some packages under porteus I get the following error message:

Code: Select all

chown: invalid group: ‘root:root’
I imagine this is normal as:

Code: Select all

root@porteus:~# id
uid=0(root) gid=0 groups=0,1,2,3,4,6,10
root@porteus:~#
For more info on group and use management:
https://wiki.archlinux.org/index.php/Users_and_Groups

What is there to do? :)
Prendre son temps, profiter de celui qui passe.

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5666
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Re: chown: invalid group: ‘root:root’

Post#2 by fanthom » 04 Jan 2014, 09:30

please point me to packages (slackbuilds if possible) which does not compile because of this error.
Please add [Solved] to your thread title if the solution was found.

User avatar
francois
Contributor
Contributor
Posts: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: chown: invalid group: ‘root:root’

Post#3 by francois » 04 Jan 2014, 21:10

We are talking about slackbuild cups-filters 1.0.43:
https://github.com/willysr/SlackHacks/t ... ps-filters

The offending line seems to be at the end:

Code: Select all

chown -R root: root .
find -L . \
Thanks. :)
Prendre son temps, profiter de celui qui passe.

User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

Re: chown: invalid group: ‘root:root’

Post#4 by brokenman » 05 Jan 2014, 03:13

change it to: chown -R root .
How do i become super user?
Wear your underpants on the outside and put on a cape.

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5666
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Re: chown: invalid group: ‘root:root’

Post#5 by fanthom » 05 Jan 2014, 08:50

this slackbuild looks ok for me. please post last few lines of it's output i(ncluding the error you are getting).
thanks
Please add [Solved] to your thread title if the solution was found.

User avatar
francois
Contributor
Contributor
Posts: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: chown: invalid group: ‘root:root’

Post#6 by francois » 07 Jan 2014, 19:04

@fanthom:

Code: Select all

root@porteus:~# cd /mnt/sda5/64bit_v30/porteus/test-cups/cups-filter/
root@porteus:/mnt/sda5/64bit_v30/porteus/test-cups/cups-filter# ./cups-filters.SlackBuild
cups-filters-1.0.43/
cups-filters-1.0.43/Makefile.in
cups-filters-1.0.43/install-sh
cups-filters-1.0.43/scripting/
cups-filters-1.0.43/scripting/php/...
...
cups-filters-1.0.43/filter/pdftopdf/nup.cc
cups-filters-1.0.43/filter/rastertoescpx.c
cups-filters-1.0.43/filter/texttopdf.c
cups-filters-1.0.43/filter/pdfutils.c
cups-filters-1.0.43/filter/getline.c
cups-filters-1.0.43/filter/urftopdf.cpp
chown: cannot access ‘root’: No such file or directory
Thanks.
Prendre son temps, profiter de celui qui passe.

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5666
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Re: chown: invalid group: ‘root:root’

Post#7 by fanthom » 07 Jan 2014, 20:06

i think there was a typo in the slackbuild when you posted this code before:

Code: Select all

chown -R root: root .
find -L . \
(mind extra space between root: root)
seems that it's not there anymore. please download this slackbuild again. if you still get this error then please check if you are affected by /etc/group bug as described here: http://forum.porteus.org/viewtopic.php? ... 029#p21021
Please add [Solved] to your thread title if the solution was found.

Post Reply