Give 'printadmin' access to the printer driver directory
This commit is contained in:
parent
e4fb31f68b
commit
1d473a5368
@ -6,7 +6,7 @@
|
|||||||
# ctdb is enabled by default, you can disable it with: --without clustering
|
# ctdb is enabled by default, you can disable it with: --without clustering
|
||||||
%bcond_without clustering
|
%bcond_without clustering
|
||||||
|
|
||||||
%define main_release 8
|
%define main_release 9
|
||||||
|
|
||||||
%define samba_version 4.7.0
|
%define samba_version 4.7.0
|
||||||
%define talloc_version 2.1.9
|
%define talloc_version 2.1.9
|
||||||
@ -85,7 +85,7 @@
|
|||||||
|
|
||||||
Name: samba
|
Name: samba
|
||||||
Version: %{samba_version}
|
Version: %{samba_version}
|
||||||
Release: %{samba_release}.3
|
Release: %{samba_release}
|
||||||
|
|
||||||
%if 0%{?rhel}
|
%if 0%{?rhel}
|
||||||
Epoch: 0
|
Epoch: 0
|
||||||
@ -1323,7 +1323,7 @@ rm -rf %{buildroot}
|
|||||||
%exclude %{_mandir}/man8/vfs_ceph.8*
|
%exclude %{_mandir}/man8/vfs_ceph.8*
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%dir /var/lib/samba/drivers
|
%attr(775,root,printadmin) %dir /var/lib/samba/drivers
|
||||||
%dir /var/lib/samba/lock
|
%dir /var/lib/samba/lock
|
||||||
|
|
||||||
### CLIENT
|
### CLIENT
|
||||||
@ -3327,6 +3327,9 @@ rm -rf %{buildroot}
|
|||||||
%endif # with_clustering_support
|
%endif # with_clustering_support
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Aug 08 2017 Andreas Schneider <asn@redhat.com> - 4.7.0-0.9.rc3
|
||||||
|
- Add printadmin group for printer driver handling
|
||||||
|
|
||||||
* Sun Jul 30 2017 Florian Weimer <fweimer@redhat.com> - 2:4.7.0-0.8.rc3.2
|
* Sun Jul 30 2017 Florian Weimer <fweimer@redhat.com> - 2:4.7.0-0.8.rc3.2
|
||||||
- Rebuild with binutils fix for ppc64le (#1475636)
|
- Rebuild with binutils fix for ppc64le (#1475636)
|
||||||
|
|
||||||
|
@ -31,6 +31,7 @@
|
|||||||
[print$]
|
[print$]
|
||||||
comment = Printer Drivers
|
comment = Printer Drivers
|
||||||
path = /var/lib/samba/drivers
|
path = /var/lib/samba/drivers
|
||||||
write list = root
|
write list = @printadmin root
|
||||||
|
force group = @printadmin
|
||||||
create mask = 0664
|
create mask = 0664
|
||||||
directory mask = 0775
|
directory mask = 0775
|
||||||
|
Loading…
Reference in New Issue
Block a user