Page 1 of 1

chown: invalid group: ‘root:root’

Posted: 03 Jan 2014, 14:50
by francois
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? :)

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

Posted: 04 Jan 2014, 09:30
by fanthom
please point me to packages (slackbuilds if possible) which does not compile because of this error.

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

Posted: 04 Jan 2014, 21:10
by francois
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. :)

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

Posted: 05 Jan 2014, 03:13
by brokenman
change it to: chown -R root .

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

Posted: 05 Jan 2014, 08:50
by fanthom
this slackbuild looks ok for me. please post last few lines of it's output i(ncluding the error you are getting).
thanks

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

Posted: 07 Jan 2014, 19:04
by francois
@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.

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

Posted: 07 Jan 2014, 20:06
by fanthom
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