From efc6f22397701d64c34422db9026a92e03f6020f Mon Sep 17 00:00:00 2001 From: tianyu Date: Wed, 12 Aug 2015 20:54:41 +0800 Subject: [PATCH] Update x2t.sh --- net/transmission/x2t.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/transmission/x2t.sh b/net/transmission/x2t.sh index 735f057..0f516c2 100644 --- a/net/transmission/x2t.sh +++ b/net/transmission/x2t.sh @@ -113,7 +113,7 @@ if [ -d "$DIR" ]; then convert_to_jpg # convert process. cd .. echo "tar cvf $DIR.tar $DIR" - tar cvf "$DIR.tar" "$DIR" --force-local # tar the directory. + tar cvf "$DIR.tar" "$DIR" --force-local --mode=a+rwX # tar the directory. rm -r "$DIR" # send to home aria2 $ARIA2_RPC "$DIR.tar"