Date: Tue, 20 Jan 2009 14:28:13 +0530 From: chandra reddy <creddym@gmail.com> To: Doug Hardie <bc979@lafn.org> 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 Message-ID: <3f95d3db0901200058w281f9f06rb3c7b1d63b1d401d@mail.gmail.com> In-Reply-To: <CB2D9A0C-3617-40C5-9CBF-CC38FE190AE6@lafn.org> References: <3f95d3db0901192354s502644cdh3ecf44a4ecf3fe6f@mail.gmail.com> <CB2D9A0C-3617-40C5-9CBF-CC38FE190AE6@lafn.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <bc979@lafn.org> 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 "
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3f95d3db0901200058w281f9f06rb3c7b1d63b1d401d>