Commit 7a6d5953 authored by Natanael Copa's avatar Natanael Copa

main/nginx: fix permissions of /var/tmp

Permissions of /var/tmp should be 1777. Due to limitation in apk/abuild
we need to explicitly set the permissions of intermediate directories
that should not have default.

ref #9364
parent e773ffa8
......@@ -11,7 +11,7 @@ pkgname=nginx
# NOTE: Upgrade only to even-numbered versions (e.g. 1.14.z, 1.16.z)!
# Odd-numbered versions are mainline (development) versions.
# Revision of nginx-tests to use for check().
......@@ -235,6 +235,7 @@ package() {
install -dm755 ./etc/$pkgname/modules
install -dm750 -o $pkgusers -g $_grp_ngx ./var/lib/$pkgname
install -dm700 -o $pkgusers -g $_grp_ngx ./var/tmp/$pkgname
chmod 1777 "$pkgdir"/var/tmp
install -dm755 -g $_grp_www ./var/www/localhost/htdocs
install -dm755 ./var/log
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment