yet cygwin perms are correct
$ ls -l sed.exe
-rwxrwxr-x 1 nMaster Users 97280 Aug 2 2006 sed.exe
and XP ACLs look good (to me at least)
C:\cygwin\bin>cacls ..
C:\cygwin BUILTIN\Administrators:(OI)(CI)F
NT AUTHORITY\SYSTEM:(OI)(CI)F
<Account Domain not found>F
CREATOR OWNER:(OI)(CI)(IO)F
BUILTIN\Users:(OI)(CI)R
BUILTIN\Users:(CI)(special access:)
FILE_APPEND_DATA
BUILTIN\Users:R
Everyone:R
BUILTIN\Users:(special access:)
WRITE_DAC
SYNCHRONIZE
FILE_WRITE_DATA
FILE_WRITE_EA
FILE_EXECUTE
FILE_WRITE_ATTRIBUTES
So why the permission errors?
(and yes, I've reinstalled it twice; first just overlay the program,
second, delete the program first (to clear the ACL) and then reinstall -- same error :( )
Nodsu
04-01-2008, 04:45 AM
It could be any of the DLLs or data files that sed is trying to access. Maybe run the file monitor from sysinternals and see which file access is denied.
Ad
04-01-2008, 04:45 AM
jobeard
04-01-2008, 11:16 AM
It could be any of the DLLs or data files that sed is trying to access. Maybe run the file monitor from sysinternals and see which file access is denied.
even just SED -H is denied, so it's not a data file. I fetch the F.M. and try that :)
Nodsu
04-02-2008, 11:50 AM
Also, I forgot the cool Linux (also in Cygwin) utility called strace that shows you what system calls a program uses and the results of these.
jobeard
04-02-2008, 12:53 PM
cool -- I forgot that too. However ...
$ strace -d -o ./strace.log /usr/bin/sed.exe
strace: error creating process C:\cygwin/bin\sed.exe, (error 5)
while tracing LS works perfectly!