Change /var/lock/lockdev permissions to 1777 (#681898)

This commit is contained in:
Jan Görig 2011-03-03 16:01:45 +01:00
parent 60a20fd02c
commit 4f7d57ab7b

View File

@ -4,7 +4,7 @@
Summary: A library for locking devices
Name: lockdev
Version: 1.0.3
Release: 8%{?dist}
Release: 9%{?dist}
License: LGPLv2
Group: System Environment/Libraries
URL: http://packages.debian.org/unstable/source/lockdev
@ -74,7 +74,7 @@ mkdir -p $RPM_BUILD_ROOT%{_lockdir}
# install /etc/tmpfiles.d/lockdev.conf
mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/tmpfiles.d
cat > ${RPM_BUILD_ROOT}%{_sysconfdir}/tmpfiles.d/lockdev.conf <<EOF
d %{_lockdir} 0755 root lock -
d %{_lockdir} 1777 root root -
EOF
%pre
@ -90,7 +90,7 @@ rm -fr $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc LICENSE AUTHORS ChangeLog ChangeLog.old
%dir %attr(0775,root,lock) %{_lockdir}
%dir %attr(1777,root,root) %{_lockdir}
%config(noreplace) %{_sysconfdir}/tmpfiles.d/lockdev.conf
%attr(2711,root,lock) %{_sbindir}/lockdev
%{_libdir}/*.so.*
@ -103,6 +103,9 @@ rm -fr $RPM_BUILD_ROOT
%{_includedir}/*
%changelog
* Thu Mar 03 2011 Jan Görig <jgorig@redhat.com> - 1.0.3-9
- Change /var/lock/lockdev permissions to 1777 (#681898)
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.3-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild