Summary: | savecache checking wrong directory for write permissions | ||
---|---|---|---|
Product: | Gentoo Hosted Projects | Reporter: | Joe M <joe9mail> |
Component: | OpenRC | Assignee: | OpenRC Team <openrc> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 520144 | ||
Attachments: |
updated savecache
savecache: check the correct directory for write permissions |
Description
Joe M
2014-08-28 12:58:42 UTC
Created attachment 383846 [details]
updated savecache
diff --git a/init.d/savecache b/init.d/savecache
index 5e59b25..7dc8b0a 100755
--- a/init.d/savecache
+++ b/init.d/savecache
@@ -13,8 +13,8 @@ start()
return 1
fi
fi
- if ! checkpath -W "$RC_LIBEXECDIR"; then
- ewarn "WARNING: ${RC_LIBEXECDIR} is not writable!"
+ if ! checkpath -W "$RC_LIBEXECDIR"/cache; then
+ ewarn "WARNING: ${RC_LIBEXECDIR}/cache is not writable!"
if ! yesno "${RC_GOINGDOWN}"; then
ewarn "Unable to save deptree cache"
return 1
Created attachment 383878 [details, diff]
savecache: check the correct directory for write permissions
This is fixed in commit d032b17 and will be included in OpenRC-0.14. Thanks for the report. |