modify file /etc/skel/.b* permissions to 644

This commit is contained in:
Liquor 2021-01-06 14:51:57 +08:00
parent 89c5837383
commit 304e42d4b8

View File

@ -1,6 +1,6 @@
Name: bash
Version: 5.0
Release: 15
Release: 16
Summary: It is the Bourne Again Shell
License: GPLv3
URL: https://www.gnu.org/software/bash
@ -88,9 +88,9 @@ autoconf
%install
%make_install install-headers
ln -sf bash %{buildroot}%{_bindir}/sh
install -pD %SOURCE1 %{buildroot}/etc/skel/.bashrc
install -pD %SOURCE2 %{buildroot}/etc/skel/.bash_profile
install -pD %SOURCE3 %{buildroot}/etc/skel/.bash_logout
install -pDm 644 %SOURCE1 %{buildroot}/etc/skel/.bashrc
install -pDm 644 %SOURCE2 %{buildroot}/etc/skel/.bash_profile
install -pDm 644 %SOURCE3 %{buildroot}/etc/skel/.bash_logout
# bug #820192, need to add execable alternatives for regular built-ins
for ea in alias bg cd command fc fg getopts hash jobs read type ulimit umask unalias wait
@ -131,6 +131,12 @@ make check
%exclude %{_infodir}/dir
%changelog
* Wed Jan 6 2020 Liquor <lirui130@huawei.com> - 5.0-16
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:modify file /etc/skel/.b* permissions to 644
* Sat Oct 31 2020 Liquor <lirui130@huawei.com> - 5.0-15
- Type:bugfix
- ID:NA