This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

ls / rm etc return "no such file or directory"


I've been googling for two hours and I can't find any relevant information on
this.

Can the following be explained, and how can it be resolved?

bash:
$ vdir -d .*
vdir: cannot access .tmp1732200708091223: No such file or directory
drwxr-xr-x 1 xxx Domain Users 0 Aug  9 12:37 .
drwxr-xr-x 1 xxx Domain Users 0 Aug  9 13:02 ..
$ rm .tmp1732200708091223
rm: cannot remove `.tmp1732200708091223': No such file or directory

cmd.exe:
H:\some_dir>rd /s .tmp1732200708091223
.tmp1732200708091223, Are you sure (Y/N)? y
Access is denied.

Similiar attempts to move/rename/delete this rogue directory with Windows
Explorer and every other means fails in a similar way.

I've tried re"mount"ing the volume in cygwin to no avail.  


chycheck -svr output:

Cygwin Configuration Diagnostics
Current System Time: Thu Aug 09 13:25:46 2007

Windows 2003 Server Ver 5.2 Build 3790 Service Pack 2

Running in Terminal Service session

Path:	C:\cygwin\usr\local\bin
	C:\cygwin\bin
	C:\cygwin\bin
	C:\cygwin\usr\X11R6\bin
	c:\Program Files\Support Tools\
	c:\WINDOWS\system32
	c:\WINDOWS
	c:\WINDOWS\System32\Wbem
	c:\Program Files\Intel\DMIX

Output from C:\cygwin\bin\id.exe (nontsec)
UID: 1003(admin)       GID: 512(Domain Admins)
513(Domain Users)         544(Administrators)       555(Remote Desktop
Users)
545(Users)                10512(Domain Admins)      10513(Domain Users)
512(Domain Admins)

Output from C:\cygwin\bin\id.exe (ntsec)
UID: 1003(admin)       GID: 512(Domain Admins)
513(Domain Users)         544(Administrators)       555(Remote Desktop
Users)
545(Users)                10512(Domain Admins)      10513(Domain Users)
512(Domain Admins)

SysDir: C:\WINDOWS\system32
WinDir: C:\WINDOWS

USER = 'admin'
PWD = '/home/admin'
HOME = '/home/admin'
MAKE_MODE = 'unix'

HOMEPATH = '\Documents and Settings\xxx'
MANPATH = '/usr/local/man:/usr/share/man:/usr/man::/usr/ssl/man'
APPDATA = 'C:\Documents and Settings\xxx\Application Data'
HOSTNAME = 'xxxx01'
TERM = 'cygwin'
PROCESSOR_IDENTIFIER = 'x86 Family 15 Model 12 Stepping 0, AuthenticAMD'
WINDIR = 'C:\WINDOWS'
OLDPWD = '/usr/bin'
USERDOMAIN = 'XXXXXX'
OS = 'Windows_NT'
ALLUSERSPROFILE = 'C:\Documents and Settings\All Users'
TEMP = '/cygdrive/c/DOCUME~1/xxx/LOCALS~1/Temp/2'
COMMONPROGRAMFILES = 'C:\Program Files\Common Files'
USERNAME = 'admin'
CLUSTERLOG = 'C:\WINDOWS\Cluster\cluster.log'
PROCESSOR_LEVEL = '15'
FP_NO_HOST_CHECK = 'NO'
SYSTEMDRIVE = 'C:'
JAVA_HOME = 'C:\Program Files\CA\SharedComponents\JRE\1.5.0_04\'
USERPROFILE = 'C:\Documents and Settings\xxx'
CLIENTNAME = 'XXX22'
PS1 = '\[\e]0;\w\a\]\n\[\e[32m\]\u@\h \[\e[33m\]\w\[\e[0m\]\n\$ '
LOGONSERVER = '\\XXXXXX01'
PROCESSOR_ARCHITECTURE = 'x86'
!C: = 'C:\cygwin\bin'
SHLVL = '1'
USERDNSDOMAIN = 'XXX.LOCAL'
PATHEXT = '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
HOMEDRIVE = 'C:'
PROMPT = '$P$G'
COMSPEC = 'C:\WINDOWS\system32\cmd.exe'
TMP = '/cygdrive/c/DOCUME~1/xxx/LOCALS~1/Temp/2'
SYSTEMROOT = 'C:\WINDOWS'
CVS_RSH = '/bin/ssh'
PROCESSOR_REVISION = '0c00'
INFOPATH = '/usr/local/info:/usr/share/info:/usr/info:'
PROGRAMFILES = 'C:\Program Files'
NUMBER_OF_PROCESSORS = '1'
SESSIONNAME = 'RDP-Tcp#9'
COMPUTERNAME = 'XXXXXX01'
_ = '/usr/bin/cygcheck'
POSIXLY_CORRECT = '1'

HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
  (default) = '/cygdrive'
  cygdrive flags = 0x00000022
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/
  (default) = 'C:\cygwin'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/cygdrive/h
  (default) = 'h:'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
  (default) = 'C:\cygwin/bin'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
  (default) = 'C:\cygwin/lib'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options

a:  fd             N/A    N/A                    
c:  hd  NTFS     76308Mb  83% CP CS UN PA FC     Local Disk
d:  hd  NTFS    190778Mb  96% CP CS UN PA FC     BIT Data
e:  cd             N/A    N/A                    
f:  hd  NTFS    381550Mb  48% CP CS UN PA FC     Developer
g:  hd  NTFS    478741Mb  73% CP CS UN PA FC     Backup
h:  hd  NTFS    715401Mb  61% CP CS UN PA FC     Production
z:  net NTFS    476921Mb   2% CP CS UN PA FC     

C:\cygwin      /            system  binmode
h:             /cygdrive/h  system  binmode
C:\cygwin/bin  /usr/bin     system  binmode
C:\cygwin/lib  /usr/lib     system  binmode
.              /cygdrive    system  binmode,cygdrive

Found: C:\cygwin\bin\awk.exe
Found: C:\cygwin\bin\bash.exe
Found: C:\cygwin\bin\cat.exe
Found: C:\cygwin\bin\cp.exe
Found: C:\cygwin\bin\cpp.exe
Found: C:\cygwin\bin\crontab.exe
Found: C:\cygwin\bin\find.exe
Found: C:\cygwin\bin\gcc.exe
Not Found: gdb
Found: C:\cygwin\bin\grep.exe
Found: C:\cygwin\bin\kill.exe
Found: C:\cygwin\bin\ld.exe
Found: C:\cygwin\bin\ls.exe
Found: C:\cygwin\bin\make.exe
Found: C:\cygwin\bin\mv.exe
Not Found: patch
Found: C:\cygwin\bin\perl.exe
Found: C:\cygwin\bin\rm.exe
Found: C:\cygwin\bin\sed.exe
Found: C:\cygwin\bin\ssh.exe
Found: C:\cygwin\bin\sh.exe
Found: C:\cygwin\bin\tar.exe
Found: C:\cygwin\bin\test.exe
Not Found: vi
Not Found: vim

   61k 2006/11/10 C:\cygwin\bin\cygbz2-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygbz2-1.dll" v0.0 ts=2006/11/10 15:42
    7k 2006/10/22 C:\cygwin\bin\cygcharset-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygcharset-1.dll" v0.0 ts=2006/10/22 16:43
    7k 2003/10/19 C:\cygwin\bin\cygcrypt-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygcrypt-0.dll" v0.0 ts=2003/10/19 0:57
 1059k 2007/03/29 C:\cygwin\bin\cygcrypto-0.9.8.dll - os=4.0 img=1.0 sys=4.0
                  "cygcrypto-0.9.8.dll" v0.0 ts=2007/3/29 3:13
  221k 2007/06/30 C:\cygwin\bin\cygcurl-4.dll - os=4.0 img=1.0 sys=4.0
                  "cygcurl-4.dll" v0.0 ts=2007/6/29 17:54
  895k 2004/04/28 C:\cygwin\bin\cygdb-4.2.dll - os=4.0 img=1.0 sys=4.0
                  "cygdb-4.2.dll" v0.0 ts=2004/4/27 8:31
  965k 2005/05/14 C:\cygwin\bin\cygdb-4.3.dll - os=4.0 img=1.0 sys=4.0
                  "cygdb-4.3.dll" v0.0 ts=2005/5/14 5:37
 1156k 2004/04/28 C:\cygwin\bin\cygdb_cxx-4.2.dll - os=4.0 img=1.0 sys=4.0
                  "cygdb_cxx-4.2.dll" v0.0 ts=2004/4/27 8:35
 1240k 2005/05/14 C:\cygwin\bin\cygdb_cxx-4.3.dll - os=4.0 img=1.0 sys=4.0
                  "cygdb_cxx-4.3.dll" v0.0 ts=2005/5/14 5:41
  118k 2007/04/06 C:\cygwin\bin\cygexpat-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygexpat-0.dll" v0.0 ts=2007/4/6 13:43
   40k 2006/11/15 C:\cygwin\bin\cygform-8.dll - os=4.0 img=1.0 sys=4.0
                  "cygform-8.dll" v0.0 ts=2006/11/14 23:06
   19k 2006/11/19 C:\cygwin\bin\cyggdbm-4.dll - os=4.0 img=1.0 sys=4.0
                  "cyggdbm-4.dll" v0.0 ts=2006/11/19 0:18
    8k 2006/11/19 C:\cygwin\bin\cyggdbm_compat-4.dll - os=4.0 img=1.0
sys=4.0
                  "cyggdbm_compat-4.dll" v0.0 ts=2006/11/19 0:18
   25k 2007/05/02 C:\cygwin\bin\cyghistory6.dll - os=4.0 img=1.0 sys=4.0
                  "cyghistory6.dll" v0.0 ts=2007/5/1 18:01
  976k 2006/10/22 C:\cygwin\bin\cygiconv-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygiconv-2.dll" v0.0 ts=2006/10/22 16:44
   37k 2003/08/10 C:\cygwin\bin\cygintl-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygintl-2.dll" v0.0 ts=2003/8/10 14:50
   31k 2005/11/20 C:\cygwin\bin\cygintl-3.dll - os=4.0 img=1.0 sys=4.0
                  "cygintl-3.dll" v0.0 ts=2005/11/19 18:04
   31k 2006/10/23 C:\cygwin\bin\cygintl-8.dll - os=4.0 img=1.0 sys=4.0
                  "cygintl-8.dll" v0.0 ts=2006/10/22 17:12
   12k 2003/02/17 C:\cygwin\bin\cygioperm-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygioperm-0.dll" v0.0 ts=2003/2/17 11:58
   39k 2007/07/13 C:\cygwin\bin\cyglber-2-3-0.dll - os=4.0 img=1.0 sys=4.0
                  "cyglber-2-3-0.dll" v0.0 ts=2007/7/12 14:06
  189k 2007/07/13 C:\cygwin\bin\cygldap-2-3-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygldap-2-3-0.dll" v0.0 ts=2007/7/12 14:08
  202k 2007/07/13 C:\cygwin\bin\cygldap_r-2-3-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygldap_r-2-3-0.dll" v0.0 ts=2007/7/12 14:11
   21k 2006/11/15 C:\cygwin\bin\cygmenu-8.dll - os=4.0 img=1.0 sys=4.0
                  "cygmenu-8.dll" v0.0 ts=2006/11/14 23:05
   20k 2006/12/21 C:\cygwin\bin\cygminires.dll - os=4.0 img=1.1 sys=4.0
                  "cygminires.dll" v0.0 ts=2006/12/20 21:07
   67k 2006/11/15 C:\cygwin\bin\cygncurses++-8.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses++-8.dll" v0.0 ts=2006/11/14 23:13
  237k 2006/11/15 C:\cygwin\bin\cygncurses-8.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses-8.dll" v0.0 ts=2006/11/14 23:02
   12k 2006/11/15 C:\cygwin\bin\cygpanel-8.dll - os=4.0 img=1.0 sys=4.0
                  "cygpanel-8.dll" v0.0 ts=2006/11/14 23:04
  119k 2007/04/25 C:\cygwin\bin\cygpcre-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygpcre-0.dll" v0.0 ts=2007/4/24 21:39
  303k 2007/04/25 C:\cygwin\bin\cygpcrecpp-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygpcrecpp-0.dll" v0.0 ts=2007/4/24 21:39
    7k 2007/04/25 C:\cygwin\bin\cygpcreposix-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygpcreposix-0.dll" v0.0 ts=2007/4/24 21:39
 1224k 2007/07/16 C:\cygwin\bin\cygperl5_8.dll - os=4.0 img=1.0 sys=4.0
                  "cygperl5_8.dll" v0.0 ts=2007/7/8 12:14
   22k 2002/06/09 C:\cygwin\bin\cygpopt-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygpopt-0.dll" v0.0 ts=2002/6/8 22:45
  154k 2007/05/02 C:\cygwin\bin\cygreadline6.dll - os=4.0 img=1.0 sys=4.0
                  "cygreadline6.dll" v0.0 ts=2007/5/1 18:01
  718k 2007/05/30 C:\cygwin\bin\cygruby18.dll - os=4.0 img=1.0 sys=4.0
                  "cygruby18.dll" v0.0 ts=2007/5/30 1:38
   78k 2004/10/13 C:\cygwin\bin\cygsasl2-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygsasl2-2.dll" v0.0 ts=2004/10/13 15:50
  118k 2007/06/27 C:\cygwin\bin\cygssh2-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygssh2-1.dll" v0.0 ts=2007/6/26 22:56
  217k 2007/03/29 C:\cygwin\bin\cygssl-0.9.8.dll - os=4.0 img=1.0 sys=4.0
                  "cygssl-0.9.8.dll" v0.0 ts=2007/3/29 3:13
   65k 2006/10/16 C:\cygwin\bin\cygz.dll - os=4.0 img=1.0 sys=4.0
                  "cygz.dll" v0.0 ts=2006/10/15 18:10
 1830k 2007/01/31 C:\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
                  "cygwin1.dll" v0.0 ts=2007/1/31 1:58
    Cygwin DLL version info:
        DLL version: 1.5.24
        DLL epoch: 19
        DLL bad signal mask: 19005
        DLL old termios: 5
        DLL malloc env: 28
        API major: 0
        API minor: 156
        Shared data: 4
        DLL identifier: cygwin1
        Mount registry: 2
        Cygnus registry name: Cygnus Solutions
        Cygwin registry name: Cygwin
        Program options name: Program Options
        Cygwin mount registry name: mounts v2
        Cygdrive flags: cygdrive flags
        Cygdrive prefix: cygdrive prefix
        Cygdrive default prefix: 
        Build date: Wed Jan 31 10:57:51 CET 2007
        CVS tag: cr-0x5f1
        Shared id: cygwin1S4


Service             : sshd
Display name        : CYGWIN sshd
Current State       : Stopped
Command             : /usr/sbin/sshd -D
stdin path          : /dev/null
stdout path         : /var/log/sshd.log
stderr path         : /var/log/sshd.log
Environment         : CYGWIN="ntsec bin tty" 
Process Type        : Own Process
Startup             : Automatic
Dependencies        : tcpip
Account             : XXX\xxxx

Service             : cron
Display name        : Cron daemon
Current State       : Stopped
Command             : /usr/sbin/cron -n
stdin path          : /dev/null
stdout path         : /var/log/cron.log
stderr path         : /var/log/cron.log
Environment         : CYGWIN="ntsec smbntsec" 
Process Type        : Own Process
Startup             : Disabled
Account             : XXX\xxx


Cygwin Package Information
Last downloaded files to: C:\Documents and Settings\Mark\Desktop
Last downloaded files from:
http://sourceware.mirrors.tds.net/pub/sourceware.org/cygwin

Package              Version
_update-info-dir     00531-1
alternatives         1.3.29a-1
ash                  20040127-3
autoconf             4-1
autoconf2.1          2.13-3
autoconf2.5          2.61-1
base-files           3.7-1
base-passwd          2.2-1
bash                 3.2.17-15
binutils             20060817-1
bison                2.3-1
bzip2                1.0.3-2
cabextract           1.1-1
ccache               2.2-1
chere                0.8-1
cmake                2.4.6-1
coreutils            6.9-3
cron                 4.1-5
crypt                1.1-1
curl                 7.16.3-1
cygrunsrv            1.17-1
cygutils             1.3.1-1
cygwin               1.5.24-2
cygwin-doc           1.4-4
e2fsprogs            1.35-3
editrights           1.01-1
email                2.5.0-1
exim                 4.67-1
expat                1.95.8-2
findutils            4.3.8-1
flex                 2.5.4a-3
gawk                 3.1.5-4
gcc                  3.4.4-3
gcc-core             3.4.4-3
gcc-g++              3.4.4-3
gcc-mingw-core       20050522-1
gcc-mingw-g++        20050522-1
gnupg                1.4.5-1
grep                 2.5.1a-4
groff                1.18.1-2
gzip                 1.3.12-1
ioperm               0.4-1
joe                  3.5-1
less                 382-1
libbz2_1             1.0.3-2
libcharset1          1.11-1
libcurl4             7.16.3-1
libdb4.2             4.2.52-1
libdb4.3             4.3.28-1
libexpat0            1.95.8-2
libgdbm4             1.8.3-8
libiconv             1.11-1
libiconv2            1.11-1
libintl2             0.12.1-3
libintl3             0.14.5-1
libintl8             0.15-1
libncurses-devel     5.5-3
libncurses8          5.5-3
libopenldap2_3_0     2.3.36-1
libpcre0             7.1-1
libpopt0             1.6.4-4
libreadline6         5.2.4-8
libsasl2             2.1.19-3
libssh2_1            0.15-1
login                1.9-7
m4                   1.4.10-1
make                 3.81-1
man                  1.6e-1
mingw-runtime        3.12-4
minires              1.01-1
mktemp               1.5-4
openssh              4.6p1-1
openssl              0.9.8e-3
pcre                 7.1-1
pcre-devel           7.1-1
perl                 5.8.8-3
pkg-config           0.21-1
psmisc               21.5-3
readline             5.2.4-8
rebase               2.4.3-1
rsync                2.6.6-1
ruby                 1.8.6-1
run                  1.1.10-1
sed                  4.1.5-2
sharutils            4.7-1
shutdown             1.7-1
ssmtp                2.61-1
syslog-ng            1.6.12-1
tar                  1.18-1
tcltk                20060202-1
termcap              20050421-1
terminfo             5.5_20061104-1
texinfo              4.8a-1
unzip                5.52-2
util-linux           2.12r-2
w32api               3.9-1
wget                 1.10.2-2
which                1.7-1
zip                  2.32-2
zlib                 1.2.3-2
Use -h to see help about each section


-- 
View this message in context: http://www.nabble.com/ls---rm-etc-return-%22no-such-file-or-directory%22-tf4245023.html#a12080147
Sent from the Cygwin Users mailing list archive at Nabble.com.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]