D
DelJo63
On XP/Pro, \cygwin\bin\sed.exe gets Access Denied; Why?
what am I missing?
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 )
what am I missing?
Code:
Jeff@ltbeard /usr/bin
$ sed.exe -h
bash: /usr/bin/sed.exe: Permission denied
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:(CI)(special access:)
FILE_WRITE_DATA
C:\cygwin\bin>cacls .
C:\cygwin\bin BUILTIN\Administrators:(OI)(CI)(NP)F
BUILTIN\Users:(OI)(CI)R
BUILTIN\Administrators:(OI)(CI)F
NT AUTHORITY\SYSTEM:(OI)(CI)F
LTBEARD\Jeff:F
CREATOR OWNER:(OI)(CI)(IO)F
BUILTIN\Users:(OI)(CI)R
BUILTIN\Users:(CI)(special access:)
FILE_APPEND_DATA
BUILTIN\Users:(CI)(special access:)
FILE_WRITE_DATA
C:\cygwin\bin>cacls sed.exe
C:\cygwin\bin\sed.exe LTBEARD\nMaster:(special access:)
STANDARD_RIGHTS_ALL
DELETE
READ_CONTROL
WRITE_DAC
WRITE_OWNER
SYNCHRONIZE
STANDARD_RIGHTS_REQUIRED
FILE_GENERIC_READ
FILE_GENERIC_WRITE
FILE_GENERIC_EXECUTE
FILE_READ_DATA
FILE_WRITE_DATA
FILE_APPEND_DATA
FILE_READ_EA
FILE_WRITE_EA
FILE_EXECUTE
FILE_READ_ATTRIBUTES
FILE_WRITE_ATTRIBUTES
BUILTIN\Users:R
Everyone:R
BUILTIN\Users:(special access:)
WRITE_DAC
SYNCHRONIZE
FILE_WRITE_DATA
FILE_WRITE_EA
FILE_EXECUTE
FILE_WRITE_ATTRIBUTES
(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 )