From owner-freebsd-hackers@FreeBSD.ORG Tue Jan 20 08:58:14 2009 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4B91A10656C4; Tue, 20 Jan 2009 08:58:14 +0000 (UTC) (envelope-from creddym@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.239]) by mx1.freebsd.org (Postfix) with ESMTP id 0B34B8FC1F; Tue, 20 Jan 2009 08:58:13 +0000 (UTC) (envelope-from creddym@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so3146151rvf.43 for ; Tue, 20 Jan 2009 00:58:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=w9Wc8at8eBtrdEJkoQ1Hoea8+WtIablZcXZ/Ws4p4A0=; b=P7WXFoaZu4+kW64G68682Xm+yj3GX0bKzbEKxH/RvJetqyjda2IMNJWpyJReHfLe/5 KhZH45j4DOcFtBdNECPbJAFWtv9n5cI+fMFPsyJgkTGojcO0mDt1x6MqDuLhbyjaTOdD oF2+w6VdmmD/E6I0p+UxVhQFrHJioAIsgmbPY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=E8pR3XnEPuKP72LRl9lPpk52A9ii/lPWY6/d76LjBIHbFZoPo7cFKCPxjD9hqqZg+F qJj80nuaYOGWz5yqXnvDZ9z1UlIuEvtGhT6aCwLwLJk2oxJ+U8UJ7EZp7jGD1OiUBTm6 DZ8j3jaMMNd6XnlyiXeA44hwarQ04SRdz4EP0= MIME-Version: 1.0 Received: by 10.141.210.2 with SMTP id m2mr2457693rvq.26.1232441893528; Tue, 20 Jan 2009 00:58:13 -0800 (PST) In-Reply-To: References: <3f95d3db0901192354s502644cdh3ecf44a4ecf3fe6f@mail.gmail.com> Date: Tue, 20 Jan 2009 14:28:13 +0530 Message-ID: <3f95d3db0901200058w281f9f06rb3c7b1d63b1d401d@mail.gmail.com> From: chandra reddy To: Doug Hardie X-Mailman-Approved-At: Tue, 20 Jan 2009 12:20:47 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-hackers@freebsd.org, freebsd-questions@freebsd.org Subject: Re: tar fails on FreeBSD 7 and passes on FreeBSD 6 for the same input X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jan 2009 08:58:15 -0000 Hi Doug, I have checked the files permission. It is fine. It passes on FreeBSD6 but fails on FreeBSD 7. It passes on a local file system but fails on NFS file system. Thanks -Chandra On Tue, Jan 20, 2009 at 2:02 PM, Doug Hardie wrote: > > On Jan 19, 2009, at 23:54, chandra reddy wrote: > > Hi, >> >> I am getting the following error when i run tar on a directory. >> >> [chandra@home]$ tar zcf config-xsl.tar config-xsl/9.6 >> >> tar: Cannot open directory >> >> config-xsl/9.6/configuration/protocols/mpls/label-switched-path/oam/bfd-liveness-detection/detection-time: >> No such file or directory >> tar: Cannot open directory >> >> config-xsl/9.6/configuration/protocols/mpls/label-switched-path/oam/bfd-liveness-detection/failure-action: >> No such file or directory >> [chandra@home]$ ldd tar >> tar: >> libc.so.6 => /usr/local/lib/compat/libc.so.6 (0x28097000) >> chandra@home]$ uname -a >> FreeBSD chandra 7.1-RC1 FreeBSD 7.1-RC1 #0: Sun Dec 7 05:57:33 UTC 2008 >> root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >> I have debugged libc and found that system call "fstafs" is failing and >> returning -1. >> >> Can any one help me what is the real problem here and how to fix it? >> > > Check and be sure that those directories have r and x for the user running > tar. It looks like a permission problem. > -- "debugging a buggy debugger with a cross buggy debugger leads to a buggy life "