diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2018-09-03 13:17:00 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2018-09-03 13:23:22 +0000 |
commit | 7a6d59536dfe5ea1fbc343993d894d119c701ab1 (patch) | |
tree | 6cb3495787d52416aa3cb638639d6fe1a23b5832 /main | |
parent | e773ffa89a7b52f56f5cdbce5d3ab6518a192e8d (diff) | |
download | aports-7a6d59536dfe5ea1fbc343993d894d119c701ab1.tar.bz2 aports-7a6d59536dfe5ea1fbc343993d894d119c701ab1.tar.xz |
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
Diffstat (limited to 'main')
-rw-r--r-- | main/nginx/APKBUILD | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/main/nginx/APKBUILD b/main/nginx/APKBUILD index ec661b5b68..63af85135d 100644 --- a/main/nginx/APKBUILD +++ b/main/nginx/APKBUILD @@ -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. pkgver=1.14.0 -pkgrel=0 +pkgrel=1 # Revision of nginx-tests to use for check(). _tests_hgrev=d6daf03478ad _njs_ver=0.2.0 @@ -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 |