diff options
author | Mohammadreza Abdollahzadeh | 2021-12-31 20:24:17 +0330 |
---|---|---|
committer | Mohammadreza Abdollahzadeh | 2021-12-31 20:24:17 +0330 |
commit | 8e729c4fb1a16170ab4207e688e9c6d92655c4da (patch) | |
tree | 60456e3ae833f4b75a4a39f4ed8419446bd03136 /seiscomp.install | |
parent | 2f2f885dc2792e5fae30bdf58ca4cfd64e2ebbc2 (diff) | |
download | aur-8e729c4fb1a16170ab4207e688e9c6d92655c4da.tar.gz |
fix directory permission
Diffstat (limited to 'seiscomp.install')
-rw-r--r-- | seiscomp.install | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/seiscomp.install b/seiscomp.install index e0de35a0bcd5..ade22be8b8c1 100644 --- a/seiscomp.install +++ b/seiscomp.install @@ -1,4 +1,5 @@ post_install() { + find opt/seiscomp -type d -exec setfacl -d -m g::rwX "{}" \; echo " ->----------------------------------------------------------------<-" echo " -> Before using seiscomp for first time you need to do following:" echo " -> - Add your user to 'seiscomp' group:" @@ -6,3 +7,8 @@ post_install() { echo " -> - Restart your system or logout and login again." echo " ->----------------------------------------------------------------<-" } + +post_upgrade() { + find opt/seiscomp -type d -exec setfacl -d -m g::rwX "{}" \; +} + |