Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: Brian Haley <brian.haley@nospam_hp.com>
Subject: Re: Directory deletion
Date: Wed, 16 Nov 2005 21:31:53 GMT	[thread overview]
Message-ID: <dzNef.16646$9j6.8524@news.cpqcorp.net> (raw)
In-Reply-To: <1132160126.917044.112950@g49g2000cwa.googlegroups.com>

bkajey@gmail.com wrote:
> Hi,
> I'm having a directory and i don't have permission & ownership even as
> root.
> When i say file <dirname> 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


  parent reply	other threads:[~2005-11-16 21:31 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-16 16:55 Directory deletion bkajey
2005-11-16 19:03 ` Tom Smith
2005-11-16 18:30   ` bkajey
2005-11-16 21:31 ` Brian Haley [this message]
2005-11-20 15:36 ` Adam Price
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox