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]

Defrag and some other exe not seen by cygwin on XP64

This is weird

I couldn't find it in my search of the site;

I was on a XP64 machine and tried to run the defrag command from the Cygwin shell and it could not locate the command.  I could see the command via the cmd shell.  Below I cd usng the cmd shell on 64bit XP and using ls it is not seen and dir it is seen:

C:\WINDOWS\system32>ls |grep defrag

C:\WINDOWS\system32>dir |grep defrag
02/16/2007  08:33 PM            35,840 defrag.exe

C:\WINDOWS\system32>cacls defrag.exe
C:\WINDOWS\system32\defrag.exe BUILTIN\Administrators:F
                               NT AUTHORITY\BATCH:R
                               NT AUTHORITY\INTERACTIVE:R
                               NT AUTHORITY\SERVICE:R
                               NT AUTHORITY\SYSTEM:F

I then copied the file in the cmd shell to c:\cygwin\ and then Cygwin can see it there:

dobrin@dodo:/c/WINDOWS/system32> ls -al ./defrag
ls: cannot access ./defrag: No such file or directory
dobrin@dodo:/c/WINDOWS/system32> cd /
dobrin@dodo:/> ls -al ./defrag
-rwx------+ 1 dobrin Domain Users 35840 Feb 16  2007 ./defrag

I confirmed that this isn't an issue on XP32 or Vista

And Ideas?


Unsubscribe info:
Problem reports:

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