From 5916862377639de84e57d8ad55a797c0ef66d42a Mon Sep 17 00:00:00 2001 From: hongjinghao Date: Fri, 9 Jun 2023 14:15:33 +0800 Subject: [PATCH] Revert 'set default umask' --- ...set-default-umask.patch => set-TMOUT-300.patch | 15 ++------------- setup.spec | 7 +++++-- 2 files changed, 7 insertions(+), 15 deletions(-) rename set-TMOUT-300-and-set-default-umask.patch => set-TMOUT-300.patch (54%) diff --git a/set-TMOUT-300-and-set-default-umask.patch b/set-TMOUT-300.patch similarity index 54% rename from set-TMOUT-300-and-set-default-umask.patch rename to set-TMOUT-300.patch index f9b871c..ee45071 100644 --- a/set-TMOUT-300-and-set-default-umask.patch +++ b/set-TMOUT-300.patch @@ -1,23 +1,12 @@ From ab59fb7d2aff6e29d58cbdc213a974c696bdedb4 Mon Sep 17 00:00:00 2001 From: hongjinghao Date: Thu, 8 Jun 2023 11:15:46 +0800 -Subject: [PATCH] set TMOUT=300 and set default umask +Subject: [PATCH] set TMOUT 300 --- - bashrc | 2 ++ profile | 1 + - 2 files changed, 3 insertions(+) + 1 file changed, 1 insertion(+) -diff --git a/bashrc b/bashrc -index d462ac7..444ef78 100644 ---- a/bashrc -+++ b/bashrc -@@ -94,3 +94,5 @@ if [ -z "$BASHRCSOURCED" ]; then - - fi - # vim:ts=4:sw=4 -+ -+umask 0077 diff --git a/profile b/profile index 542add4..8f086af 100644 --- a/profile diff --git a/setup.spec b/setup.spec index c40cdaa..14d9747 100644 --- a/setup.spec +++ b/setup.spec @@ -1,14 +1,14 @@ Summary: A set of system configuration and setup files Name: setup Version: 2.13.9.1 -Release: 2 +Release: 3 License: Public Domain Group: System Environment/Base URL: https://pagure.io/setup/ Source0: http://releases.pagure.org/%{name}/%{name}-%{version}.tar.bz2 Patch0: support-filesystems-xfs.patch Patch1: source-cshlocal-when-login.patch -Patch2: set-TMOUT-300-and-set-default-umask.patch +Patch2: set-TMOUT-300.patch BuildArch: noarch BuildRequires: systemd BuildRequires: bash tcsh perl-interpreter @@ -118,6 +118,9 @@ end %{_tmpfilesdir}/%{name}.conf %changelog +* Fri Jun 9 2023 hongjinghao - 2.13.9.1-3 +* Revert "set default umask" + * Thu Jun 8 2023 hongjinghao - 2.13.9.1-2 - set TMOUT=300 and set default umask -- Gitee