From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from moutng.kundenserver.de ([212.227.17.8]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1RqLdk-0003OH-8c for ptxdist@pengutronix.de; Thu, 26 Jan 2012 10:29:09 +0100 From: =?UTF-8?q?Andreas=20Bie=C3=9Fmann?= Date: Thu, 26 Jan 2012 10:29:00 +0100 Message-Id: <1327570140-3611-1-git-send-email-biessmann@corscience.de> MIME-Version: 1.0 Subject: [ptxdist] [PATCH] bin/ptxdist: check_dirs_mkdir() utilize umask Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: PTXdist list SW4gc29tZSBjYXNlcyB0aGUgY2hlY2tfZGlyc19ta2RpcigpIGZ1bmN0aW9uIHdpbGwgY3JlYXRl IGRpcmVjdG9yaWVzIG9uIHRoZQp3YXkgKHBhcmVudHMpIHdpdGggaW5zdWZmaWNpZW50IHJpZ2h0 cy4gVGhlcmVmb3JlIHRoZSBjaG1vZC9jaG93biBsYXRlciBvbgp3aWxsIGZhaWwgZHVlIHRvIG1p c3NpbmcgcmlnaHRzLgoKVGhpcyBwYXRjaCBmb3JjZXMgJ3VtYXNrIDAwMjInIGZvciBjcmVhdGlu ZyB0aGUgZGlyZWN0b3JpZXMgb24gdGhlIHdheSBhbmQKYWRkaXRpb25hbGx5IGFkZCB0aGUgbWlz c2luZyAnLW03NTUnIHN3aXRjaCB0byB0aGUgJ3N1ZG8nLXZhcmlhbnQuCgpTaWduZWQtb2ZmLWJ5 OiBBbmRyZWFzIEJpZcOfbWFubiA8Ymllc3NtYW5uQGNvcnNjaWVuY2UuZGU+Ci0tLQogYmluL3B0 eGRpc3QgfCAgICA2ICsrKy0tLQogMSBmaWxlcyBjaGFuZ2Vk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