delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/03/06/20:29:41

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-Id: <4.2.2.20010306201435.00aad610@nexus>
X-Sender: cygwin AT nexus
X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.2
Date: Tue, 06 Mar 2001 20:28:25 -0500
To: Heribert Dahms <heribert_dahms AT icon-gmbh DOT de>, cygwin AT sources DOT redhat DOT com
From: Scott Steeves <cygwin AT itsanadventure DOT com>
Subject: RE: Strange problem - access to directories denied
In-Reply-To: <BF35D9C143BCCC4EB63181B67C9320C804DD31@serv-075.icon-germa
ny.local>
Mime-Version: 1.0

>Hi Scott,
>
>what gives (under DOS): cacls pktemp
>
>Bye, Heribert (heribert_dahms AT icon-gmbh DOT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019