This is the mail archive of the cygwin@cygwin.com 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]

RE: Strange problem - access to directories denied



>Hi Scott,
>
>what gives (under DOS): cacls pktemp
>
>Bye, Heribert (heribert_dahms@icon-gmbh.de)


Getting weirder....

I rebooted my system, logged in, checked mail, and then went to a DOS 
prompt. Here's what I got.

=============================================
C:\>cacls pktemp
The system cannot find the file specified.

C:\>md pktemp

C:\>cacls pktemp
C:\pktemp

C:\>pkdel
Access is denied.

    pkdel is a batch file:

    @echo off
    c:
    cd\
    rd /q /s c:\pktemp
    md c:\pktemp
    cd \comm\files

C:\comm\files>cd \

C:\>time
The current time is: 20:13:59.66
Enter the new time:

C:\>dir pktemp
  Volume in drive C is TARKUS_C
  Volume Serial Number is 8C35-C5E2

  Directory of C:\

03/06/2001  08:13p      <DIR>          pktemp
                0 File(s)              0 bytes
                1 Dir(s)   2,720,620,544 bytes free

C:\>cacls pktemp
C:\pktemp
Access is denied.

C:\>
=============================================

Checking another batch file that has also caused this problem, it is 
full of "rd /q /s <dirname>" commands, and that's it.
Fairly innocuous commands in both batch files, with "rd /q /s" being 
a common factor.

Very strange. And, as Larry suggested, nothing should have been 
accessing this directory when I did the above. It was a fresh reboot!

Scott




--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple


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