Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 34015 - app-misc/gallery uses chown incorrectly
Summary: app-misc/gallery uses chown incorrectly
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Web Application Packages Maintainers
URL:
Whiteboard:
Keywords:
Depends on: 23116
Blocks: 35127
  Show dependency tree
 
Reported: 2003-11-21 06:37 UTC by Stephen Boulet
Modified: 2003-12-05 08:24 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stephen Boulet 2003-11-21 06:37:04 UTC
Using ~x86, for the chown command the period has been dropped in favor of the
semicolon as a separator between username and group, so ebuilds like
app-misc/gallery don't execute correctly.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.

Actual Results:  
 * Installing into //var/www/localhost/cgi-bin/.
chown: `apache.apache': invalid user
>>> Unpacking source...
>>> Unpacking gallery-1.4.1-RC4.tar.gz to /var/tmp/portage/gallery-1.4.1_rc4/work
>>> Source unpacked.
chown: `apache.apache': invalid user
chown: `apache.apache': invalid user
...

Expected Results:  
Should have used "chown apache:apache".
Comment 1 Stephen Boulet 2003-11-21 06:48:02 UTC
Hmm, I replaced the instances in app-misc/gallery-1.4.1_rc4 of "chown a.b" with "chown a:b", and the error was still there. Is this something hard-coded in portage?
Comment 2 Martin Holzer (RETIRED) gentoo-dev 2003-11-21 07:50:08 UTC
it works with both syntax

maybe you are missing an important system account

#grep apache /etc/passwd
apache:x:81:81:apache:/home/httpd:/bin/false
#grep apache /etc/group
apache::81:
Comment 3 Stephen Boulet 2003-11-21 16:08:41 UTC
No, they seem to exist:

# grep apache /etc/passwd
apache:x:81:81:apache:/home/httpd:/bin/false
mozart root # grep apache /etc/group
apache:x:81:stephen
mozart root # qpkg -I -v coreutils
sys-apps/coreutils-5.0.91-r1 *

Also, works with semicolon but not period:
ommand not found
mozart textures # chown apache.apache *
chown: `apache.apache': invalid user
mozart textures # chown apache:apache *

What version of coreutils are you using?
Comment 4 Martin Holzer (RETIRED) gentoo-dev 2003-11-21 16:14:45 UTC
c2200 root # qpkg -I -v coreutils
sys-apps/coreutils-5.0-r3 *
c2200 root #
Comment 5 Stephen Boulet 2003-11-21 20:23:24 UTC
Did you see: http://forums.gentoo.org/viewtopic.php?t=27802&highlight=chown
Comment 6 Dominik Stadler (RETIRED) gentoo-dev 2003-11-22 03:35:24 UTC
This seems to be kind of a duplicate of Bug 31926, Bug 30596 and Bug 23116. I think we should duplicate it to Bug 23116, as this is where the required changes are tracked for all packages now. Can somebody with enough Bugzilla-Power duplicate this Bug, please?
Comment 7 Martin Holzer (RETIRED) gentoo-dev 2003-11-24 01:48:57 UTC
fixed in cvs