Fixed bug in postinstall

This commit is contained in:
Stas Fomin 2014-09-19 22:39:04 +04:00
parent c9ccc77914
commit f7559f5860

View file

@ -102,7 +102,7 @@
Summary: Samba SMB server
Name: samba
Version: 4.1.9
Release: 4
Release: 5
Epoch: 1
License: GPLv3
Group: System/Servers
@ -933,9 +933,9 @@ groupadd -frg 421 machines
# https://wiki.archlinux.org/index.php/Samba#Creating_usershare_path
groupadd sambashare
mkdir -p %{_libdir}/samba/usershare
chown root:sambashare %{_libdir}/samba/usershare
chmod 1770 %{_libdir}/samba/usershare
mkdir -p %{_localstatedir}/lib/samba/usershare
chown root:sambashare %{_localstatedir}/lib/samba/usershare
chmod 1770 %{_localstatedir}/lib/samba/usershare
%systemd_post nmb.service