From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6756899790246641664 X-Received: by 2002:a05:651c:8f:: with SMTP id 15mr5362035ljq.109.1575550527163; Thu, 05 Dec 2019 04:55:27 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:ac2:5219:: with SMTP id a25ls286505lfl.16.gmail; Thu, 05 Dec 2019 04:55:26 -0800 (PST) X-Google-Smtp-Source: APXvYqztPA7K5K/hIeveDbcNH199m0kX6gHnKtOCa6qv9T0FsTVD5FXTLEu491VlAcFjBbErx8hL X-Received: by 2002:ac2:48bc:: with SMTP id u28mr5086340lfg.161.1575550526303; Thu, 05 Dec 2019 04:55:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575550526; cv=none; d=google.com; s=arc-20160816; b=LwAxmBnhukpd/uU0N2r7IGtJC+XiLqRZrg5xiA5Op2pF2Olcs6MARCdmIYvnqpLalY KNkRcoYSBQSbYqycuFkX6hNc87O24lfo6uw5fT9+M3ernEdKpT8uw18bUFhD5VrBARBm 8SGFDihcIurTWsAz5/XBWXjqCtDuQ8LtOjVMgfWNoQq7MH+MGnqY2yDjg7CrW4On4ouK VK8uPm4ILiEB8VkFFpddFCzASpbryHH9haqRHsPt7OL5FKYND9Fpg6cLN935RnLV3U6Y a43fIFFPOFubFLfIaqJmRFqqz0wMfylAnsNi2wIddw+cbJWMsNtjEzBnIPAAQLRGQP2w Oq/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:to:from:date; bh=xlXvsmn0e13ajSPIFNwpnDNUYv3D0NTg5NpbRRhCHWI=; b=qf2kWfvJQhphLX4zR3KrsjJGVhOaF4PTAlamGst+lJIKqKnPYICFCzwoCPK2s41yCa OCZZKnIgTuIxluxCkY8nWJoIrVGtf85fjodOKceqAUxtC9wNNgO2xKYXE4+xPNPGhB5A qx2f2gLOF/62HPtNAAQEblSW/PjI3mMOasTtX6zL8Jeild3Go/TKOc1i2eECbQ/1BlV8 oIjG6GjXEv8iOe6qme+vPiDFllaAJKrVfkOlkF6HLqglogCZYuaQAjX5skU4ioFuWMzt PMvxJ+Xf2fNN/a1f5MpGnCoDXQUagu3StlpuF/PguNQED+D8Zel1VvQ541QAHks3Ehcy Fcyg== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=neutral (google.com: 85.214.156.166 is neither permitted nor denied by best guess record for domain of ibr@radix50.net) smtp.mailfrom=ibr@radix50.net Return-Path: Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id f11si749174lfm.2.2019.12.05.04.55.25 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 05 Dec 2019 04:55:26 -0800 (PST) Received-SPF: neutral (google.com: 85.214.156.166 is neither permitted nor denied by best guess record for domain of ibr@radix50.net) client-ip=85.214.156.166; Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 85.214.156.166 is neither permitted nor denied by best guess record for domain of ibr@radix50.net) smtp.mailfrom=ibr@radix50.net Received: from yssyq.m.ilbers.de (host-80-81-17-52.static.customer.m-online.net [80.81.17.52]) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8) with ESMTPSA id xB5CtN1J017965 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 5 Dec 2019 13:55:25 +0100 Date: Thu, 5 Dec 2019 13:55:23 +0100 From: Baurzhan Ismagulov To: isar-users@googlegroups.com Subject: Re: [PATCH v2] meta/classes: Make sure the files exists before copying Message-ID: <20191205125523.v4hswjm4sbylz6bf@yssyq.m.ilbers.de> Mail-Followup-To: isar-users@googlegroups.com References: <20191108174148.GA9643@oxygen> <20191108174735.9998-1-Vijaikumar_Kangarajan@mentor.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191108174735.9998-1-Vijaikumar_Kangarajan@mentor.com> User-Agent: NeoMutt/20180716 X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on shymkent.ilbers.de X-TUID: ej8RxB/c6T0P On Fri, Nov 08, 2019 at 11:17:35PM +0530, vijaikumar.kanagarajan@gmail.com wrote: > By default realpath doesnot check if the file exists and hence > might return an invalid path. > > Check if file exists before copying. Applied to next, thanks. With kind regards, Baurzhan.