Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 41201 Details for
Bug 57900
eutils.eclass does not add users or groups in OSX
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix for adding users to groups
eutils-group.patch (text/plain), 1.01 KB, created by
Joe Jezak (RETIRED)
on 2004-10-05 22:14:12 UTC
(
hide
)
Description:
Fix for adding users to groups
Filename:
MIME Type:
Creator:
Joe Jezak (RETIRED)
Created:
2004-10-05 22:14:12 UTC
Size:
1.01 KB
patch
obsolete
>--- /Volumes/Linux/usr/portage/eclass/eutils.eclass Mon Oct 4 15:41:42 2004 >+++ eutils.eclass Wed Oct 6 15:02:50 2004 >@@ -691,6 +691,7 @@ > export IFS="," > for g in ${egroups} > do >+ export IFS="${oldifs}" > if [ -z "`egetent group \"${g}\"`" ] > then > eerror "You must add group ${g} to the system first" >@@ -702,6 +703,7 @@ > else > exgroups="${exgroups},${g}" > fi >+ export IFS="," > done > export IFS="${oldifs}" > >@@ -729,12 +731,13 @@ > dscl . create /users/${euser} home ${ehome} > dscl . create /users/${euser} realname "added by portage for ${PN}" > ### Add the user to the groups specified >+ local oldifs="${IFS}" >+ export IFS="," > for g in ${egroups} > do >- # $egroups is , delimited, not space >- ewarn "This is code is wrong; someone on the OS X team should fix it" > dscl . merge /groups/${g} users ${euser} > done >+ export IFS="${oldifs}" > else > einfo "Extra options are not supported on macos yet" > einfo "Please report the ebuild along with the info below"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 57900
:
35921
| 41201