From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: fa528,58d1e05a962e3f18 X-Google-Attributes: gidfa528,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!news.compaq.com!news.cpqcorp.net!53ab2750!not-for-mail From: Brian Haley User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051010) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.unix.tru64 Subject: Re: Directory deletion References: <1132160126.917044.112950@g49g2000cwa.googlegroups.com> In-Reply-To: <1132160126.917044.112950@g49g2000cwa.googlegroups.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: Date: Wed, 16 Nov 2005 21:31:53 GMT NNTP-Posting-Host: 16.116.104.135 X-Complaints-To: abuse@HP.com X-Trace: news.cpqcorp.net 1132176713 16.116.104.135 (Wed, 16 Nov 2005 13:31:53 PST) NNTP-Posting-Date: Wed, 16 Nov 2005 13:31:53 PST Organization: Hewlett-Packard Company Xref: g2news1.google.com comp.unix.tru64:430 bkajey@gmail.com wrote: > Hi, > I'm having a directory and i don't have permission & ownership even as > root. > When i say file it gives as below. > > # ls -l rtdata > ls: rtdata: No permission > # file rtdata > rtdata: cannot open for reading > > How do i del this directory?? Please help! Perhaps this is an NFS mounted filesystem? Root wouldn't have permissions to do much then. I've never seen a case where root can't do anything to a local file/dir. I think the only time you'll see that type of error from ls is when you don't have permissions in the current directory, maybe fix that first. -Brian