aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Healy <lmiphay@gmail.com>2017-12-10 14:37:02 +0000
committerPaul Healy <lmiphay@gmail.com>2017-12-10 14:37:02 +0000
commit5f3a4740a9bcddf9d658fbecdcb31f2a01bc0adf (patch)
treeba4aafafd96126f02add2d365629398cdf51cbc0 /app-oam
parentset owner and permissions on sensitive config and log files (diff)
downloadlmiphay-5f3a4740a9bcddf9d658fbecdcb31f2a01bc0adf.tar.gz
lmiphay-5f3a4740a9bcddf9d658fbecdcb31f2a01bc0adf.tar.bz2
lmiphay-5f3a4740a9bcddf9d658fbecdcb31f2a01bc0adf.zip
fix wildcard permissions setting
Diffstat (limited to 'app-oam')
-rw-r--r--app-oam/oam/Manifest2
-rw-r--r--app-oam/oam/oam-9999.ebuild3
2 files changed, 3 insertions, 2 deletions
diff --git a/app-oam/oam/Manifest b/app-oam/oam/Manifest
index 53cf102..70ffc0f 100644
--- a/app-oam/oam/Manifest
+++ b/app-oam/oam/Manifest
@@ -1 +1 @@
-EBUILD oam-9999.ebuild 1618 SHA256 81612ac37f0724a52ab7c07773b5a1c23253b8c8f048f72d3ab7ba74ed0c53a2 SHA512 5af421cac17210aff2950db52eaa73b9e77fc90e60d8526f9ecf0e4440a9ffd526362be5db0aed23ba4001dbe9df03dfcb1a80b173e60ff4eb26e4e34d0694b1 WHIRLPOOL bd16ae298e9936f82df00e52173545aee1f6dafce7725c37b086b35be9db024f840ae96c12eb30971f1c153b0add700f9eab7b94a2228e5d6d518684b0b3efb8
+EBUILD oam-9999.ebuild 1701 SHA256 75f51cc8d190724edf9d6124bc4c1da928f450866965af6f2957954bb34fc5b1 SHA512 fe243f153eb966f52d1dab7cda253033f01fe5b94fe3495f2ddc75c6925b71d9007a29a4458aee33e64314aa500b8641232ef61db6668ddc684d89c641327a11 WHIRLPOOL 4c8b358d4bf8e07d1a70a16e7b66114f5e606da18bbd5d7acc4ec3121fdf52b27b4432044ad3c63d373812b1c2d76bc4e9707f9ac4c52e4e4488bf7b80964d56
diff --git a/app-oam/oam/oam-9999.ebuild b/app-oam/oam/oam-9999.ebuild
index 1f8dded..3ee3482 100644
--- a/app-oam/oam/oam-9999.ebuild
+++ b/app-oam/oam/oam-9999.ebuild
@@ -60,7 +60,8 @@ python_install_all() {
fperms 640 "/etc/oam/oam.yaml"
fperms 750 "/etc/oam/conf.d" "/etc/oam/localtasks"
- fperms 640 /etc/oam/conf.d/*.yaml /etc/oam/localtasks/*.py
+ # fperms 640 /etc/oam/conf.d/*.yaml /etc/oam/localtasks/*.py
+ chmod 0640 "${ED}"/etc/oam/conf.d/*.yaml "${ED}"/etc/oam/localtasks/*.py || die
fperms 770 "/var/log/oam"
fperms 755 "/etc/cron.daily/oam"
}