* Directory deletion
@ 2005-11-16 16:55 bkajey
2005-11-16 19:03 ` Tom Smith
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: bkajey @ 2005-11-16 16:55 UTC (permalink / raw)
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!
regards
-A
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Directory deletion
2005-11-16 19:03 ` Tom Smith
@ 2005-11-16 18:30 ` bkajey
0 siblings, 0 replies; 5+ messages in thread
From: bkajey @ 2005-11-16 18:30 UTC (permalink / raw)
Yes,it does nt work. :(
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Directory deletion
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
2005-11-20 15:36 ` Adam Price
2 siblings, 1 reply; 5+ messages in thread
From: Tom Smith @ 2005-11-16 19:03 UTC (permalink / raw)
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!
>
> regards
> -A
>
Have you tried "chmod uog+rwx rtdata" as root?
-Tom
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Directory deletion
2005-11-16 16:55 Directory deletion bkajey
2005-11-16 19:03 ` Tom Smith
@ 2005-11-16 21:31 ` Brian Haley
2005-11-20 15:36 ` Adam Price
2 siblings, 0 replies; 5+ messages in thread
From: Brian Haley @ 2005-11-16 21:31 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Directory deletion
2005-11-16 16:55 Directory deletion bkajey
2005-11-16 19:03 ` Tom Smith
2005-11-16 21:31 ` Brian Haley
@ 2005-11-20 15:36 ` Adam Price
2 siblings, 0 replies; 5+ messages in thread
From: Adam Price @ 2005-11-20 15:36 UTC (permalink / raw)
On 16 Nov 2005 08:55:26 -0800, 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!
>
> regards
> -A
Some other suggestions since you didn't say if the earlier responses
helped.
Check for ACL's on the directory with getacl, also check that you have not
had an advfs domain error and the fset remounted read only.
Adam
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2005-11-20 15:36 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2005-11-20 15:36 ` Adam Price
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox