From e5d3fd420ff355d8399de0df2f601772951c0e63 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 13 May 2018 12:52:26 +0200 Subject: =?UTF-8?q?=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- recv | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'recv') diff --git a/recv b/recv index bc1f6a1..ed1e0ed 100644 --- a/recv +++ b/recv @@ -2,12 +2,12 @@ set -e -user="$0" +user="$1" [[ -n "$user" ]] || exit 2 recvDir="$(getent passwd "$user" | cut -f6 -d:)/uucppublic" [[ -d "$recvDir" ]] || exit 1 -umask 770 +umask 027 exec @gnutar@/bin/tar -xv -C $(mktemp -d -p "$recvDir" recv.XXXXXXXXXX) --owner "$user" --no-same-permissions \ No newline at end of file -- cgit v1.2.3