Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 281981 Details for
Bug 349867
net-p2p/transmission: ebuild badly resets permissions
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
chown to $runas_user, not ot hardcoded "transmission"
transmission-chown.patch (text/plain), 1.17 KB, created by
Nikolaj Šujskij
on 2011-08-03 19:08:07 UTC
(
hide
)
Description:
chown to $runas_user, not ot hardcoded "transmission"
Filename:
MIME Type:
Creator:
Nikolaj Šujskij
Created:
2011-08-03 19:08:07 UTC
Size:
1.17 KB
patch
obsolete
>diff --git a/net-p2p/transmission/transmission-2.33.ebuild b/net-p2p/transmission/transmission-2.33.ebuild >--- a/net-p2p/transmission/transmission-2.33.ebuild >+++ b/net-p2p/transmission/transmission-2.33.ebuild >@@ -133,15 +133,15 @@ > > # Keep default permissions on default dirs > einfo "Seting owners of /var/{transmission/{,config,downloads},log/transmission}" >- chown -R transmission:transmission /var/{transmission/{,config,downloads},log/transmission} >+ . "${EROOT}"/etc/conf.d/transmission-daemon >+ runas_user=${runas_user:-transmission} >+ chown -R "${runas_user}":transmission /var/{transmission/{,config,downloads},log/transmission} > > ewarn "If you use transmission-daemon, please, set 'rpc-username' and" > ewarn "'rpc-password' (in plain text, transmission-daemon will hash it on" > ewarn "start) in settings.json file located at /var/transmission/config or" > ewarn "any other appropriate config directory." >- ewarn >- ewarn "You must change download location after you change a user daemon" >- ewarn "starts as, or it'll refuse to start, see bug #349867 for details." >+ > if use utp; then > ewarn > ewarn "Since uTP is enabled ${PN} needs large kernel buffers for the UDP socket."
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 349867
:
258184
| 281981