aboutsummaryrefslogtreecommitdiffstats
path: root/main/samba
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-09-04 13:39:38 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-09-04 13:39:38 +0000
commit9aaaf26003dd2685a7a07092d29d264f7fd7bda4 (patch)
tree1e224556ab87b3f0d7d67de78496dce7daafa190 /main/samba
parentcdd9cb9761ad5aec8104cf7d0365c3e7aefa7bc4 (diff)
downloadaports-9aaaf26003dd2685a7a07092d29d264f7fd7bda4.tar.bz2
aports-9aaaf26003dd2685a7a07092d29d264f7fd7bda4.tar.xz
main/samba: fix permissions on /var/cache/samba/winbindd_privileged
Diffstat (limited to 'main/samba')
-rw-r--r--main/samba/APKBUILD5
-rw-r--r--main/samba/winbind.post-install1
2 files changed, 4 insertions, 2 deletions
diff --git a/main/samba/APKBUILD b/main/samba/APKBUILD
index e12317f766..19555f8513 100644
--- a/main/samba/APKBUILD
+++ b/main/samba/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=samba
pkgver=3.3.7
-pkgrel=2
+pkgrel=3
pkgdesc="Tools to access a server's filespace and printers via SMB"
url="http://www.samba.org"
license="GPL3"
@@ -72,7 +72,8 @@ winbind() {
usr/bin/ntlm_auth \
usr/sbin/winbindd \
usr/lib/samba/idmap
- install -d -g winbind "$subpkgdir"/var/cache/samba/winbindd_privileged
+ install -d -g winbind -m 750 \
+ "$subpkgdir"/var/cache/samba/winbindd_privileged
}
common() {
diff --git a/main/samba/winbind.post-install b/main/samba/winbind.post-install
index 995f8e87a6..59abe0ff92 100644
--- a/main/samba/winbind.post-install
+++ b/main/samba/winbind.post-install
@@ -1,5 +1,6 @@
#!/bin/sh
chgrp winbind /var/cache/samba/winbindd_privileged
+chmod 750 /var/cache/samba/winbindd_privileged
exit 0