Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 434472 Details for
Bug 541406
user.eclass: does not respect ROOT
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
modified nut.ebuild for support of ${ROOT} user/group creation
sys-power-nut.patch (text/plain), 1.76 KB, created by
fariouche
on 2016-05-16 20:06:05 UTC
(
hide
)
Description:
modified nut.ebuild for support of ${ROOT} user/group creation
Filename:
MIME Type:
Creator:
fariouche
Created:
2016-05-16 20:06:05 UTC
Size:
1.76 KB
patch
obsolete
>diff --git a/sys-power/nut/nut-2.7.3.ebuild b/sys-power/nut/nut-2.7.3.ebuild >index b137d65..8fe6fa9 100644 >--- a/sys-power/nut/nut-2.7.3.ebuild >+++ b/sys-power/nut/nut-2.7.3.ebuild >@@ -193,11 +193,11 @@ src_install() { > > einfo "Setting up permissions on files and directories" > fperms 0700 /var/lib/nut >- fowners nut:nut /var/lib/nut >+ efowners nut nut /var/lib/nut > > # Do not remove eval here, because the variables contain shell expansions. > eval fperms 0640 ${NUT_PRIVATE_FILES} >- eval fowners root:nut ${NUT_PRIVATE_FILES} >+ eval efowners root nut ${NUT_PRIVATE_FILES} > > # Do not remove eval here, because the variables contain shell expansions. > eval fperms 0644 ${NUT_PUBLIC_FILES} >@@ -214,7 +214,7 @@ src_install() { > einfo "Installing non-udev hotplug support" > insinto /etc/hotplug/usb > insopts -m 755 >- doins scripts/hotplug/nut-usbups.hotplug >+ #doins scripts/hotplug/nut-usbups.hotplug > fi > > dobashcomp "${S}"/scripts/misc/nut.bash_completion >@@ -224,11 +224,11 @@ pkg_postinst() { > # this is to ensure that everybody that installed old versions still has > # correct permissions > >- chown nut:nut "${ROOT}"/var/lib/nut 2>/dev/null >+ echown nut nut "${ROOT}"/var/lib/nut 2>/dev/null > chmod 0700 "${ROOT}"/var/lib/nut 2>/dev/null > > # Do not remove eval here, because the variables contain shell expansions. >- eval chown root:nut "${ROOT}"${NUT_PRIVATE_FILES} 2>/dev/null >+ eval echown root nut "${ROOT}"${NUT_PRIVATE_FILES} 2>/dev/null > eval chmod 0640 "${ROOT}"${NUT_PRIVATE_FILES} 2>/dev/null > > # Do not remove eval here, because the variables contain shell expansions.
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 541406
:
434468
| 434472 |
434474
|
434740
|
688161
|
688164
|
688167
|
688170
|
688293