lkml.org 
[lkml]   [1999]   [Feb]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: rmdir of one's pwd (was Re: rmdir of a busy directory)
> Just tested on SunOS 5.5.1:
>
> $ mkdir xx
> $ cd xx
> $ rmdir .
> rmdir: directory ".": Can't remove current directory or ..
> $ rmdir ../xx
> $ ls -a
> $ ls ../xx
> ../xx: No such file or directory

Haeh??

godzilla% mkdir x
godzilla% cd x
godzilla% rmdir ../x
rmdir: directory "../x": Can't remove current directory or ..
godzilla% uname -sr
SunOS 5.5.1

Other example:

godzilla% cd /tmp
godzilla% mkdir x
godzilla% cd x
godzilla% rmdir /tmp/x
rmdir: directory "/tmp/x": Can't remove current directory or ..
godzilla% uname -sr
SunOS 5.5.1


So Solaris checks the current working directory for EINVAL. I don't know
how you've succeded.

Bye
Martin

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:50    [W:0.935 / U:0.156 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site