From e4da6b3a2f2ba96e6f1ee84758519078c3efc779 Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Sat, 22 Nov 2008 17:50:59 -0600 Subject: Set the umask to allow g+w This should hopefully cover all our permission bases with regard to new files Signed-off-by: Aaron Griffin --- db-functions | 2 ++ 1 file changed, 2 insertions(+) (limited to 'db-functions') diff --git a/db-functions b/db-functions index 740922f..ae1a171 100644 --- a/db-functions +++ b/db-functions @@ -37,6 +37,7 @@ repo_lock () { #repo_lock repo-name arch exit 1 else /bin/touch "$LOCKFILE" + set_umask fi } @@ -47,6 +48,7 @@ repo_unlock () { #repo_unlock repo-name arch else rm -f "$LOCKFILE" fi + restore_umask } # Get the package name from the filename -- cgit v1.2.3-24-g4f1b