Mail Archives: cygwin/2000/12/31/19:03:57
Eric,
Do the perl 5.6.1 tests include inplace edit testing? I ask because the perl available for download via 'Cygwin Setup' is
deleting files when using inplace edits, rather than editing the file.
Testcase:
testcase.h (3 lines):
====
/*
* $Id: testcase.h,v 1.1.1.3.10.17.2.5.2.2 2000/12/30 23:08:01 rbcollins Exp $
*/
====
=
$perl -i -p -e 's/\$(Id|Revision):[^\$]*\$/\$$1\$/' testcase.h
Can't do inplace edit on test.h: Permission denied.
$ls testcase.h
ls: testcase.h: No such file or directory
=
The outcome of this should have been to change the $Id:...$ string to $Id$ in situ. I'm not sure if this is an issue with cygwin's
perl/cygwin/my machine... This has occured in several versions of the cygwin1.dll - but I'm not sure if it ever *did not* occur.
Any suggestions?
Thanks.
Rob
Diagnostics follows: permissions via ls -l/cacls and a cygcheck.
==
testcase.h permissions:
-rw-rw-rw- 1 administ None 88 Jan 1 11:03 testcase.h
and via cacls
==
$ cacls testcase.h
f:\src\auth_build\testcase.h LIFELESSWKS\Administrator:(special access:)
STANDARD_RIGHTS_ALL
DELETE
READ_CONTROL
WRITE_DAC
WRITE_OWNER
SYNCHRONIZE
STANDARD_RIGHTS_REQUIRED
FILE_GENERIC_READ
FILE_GENERIC_WRITE
FILE_READ_DATA
FILE_WRITE_DATA
FILE_APPEND_DATA
FILE_READ_EA
FILE_WRITE_EA
FILE_READ_ATTRIBUTES
FILE_WRITE_ATTRIBUTES
LIFELESSWKS\None:(special access:)
DELETE
READ_CONTROL
SYNCHRONIZE
FILE_GENERIC_READ
FILE_GENERIC_WRITE
FILE_READ_DATA
FILE_WRITE_DATA
FILE_APPEND_DATA
FILE_READ_EA
FILE_WRITE_EA
FILE_READ_ATTRIBUTES
FILE_WRITE_ATTRIBUTES
Everyone:(special access:)
DELETE
READ_CONTROL
SYNCHRONIZE
FILE_GENERIC_READ
FILE_GENERIC_WRITE
FILE_READ_DATA
FILE_WRITE_DATA
FILE_APPEND_DATA
FILE_READ_EA
FILE_WRITE_EA
FILE_READ_ATTRIBUTES
FILE_WRITE_ATTRIBUTES
==
and finally cygcheck output
==
$ cygcheck -svr
Cygnus Win95/NT Configuration Diagnostics
Current System Time: Mon Jan 1 11:08:02 2001
WinNT Ver 5.0 build 2195 Service Pack 1
Path: /bin
/usr/bin
/usr/local/bin
/usr/X11R6/bin
/cygdrive/e/WINNT/system32
/cygdrive/e/WINNT
/cygdrive/e/WINNT/System32/Wbem
/usr/bin
/usr/local/bin
/usr/X11R6/bin
/usr/local/lib
/usr/lib
SysDir: E:\WINNT\System32
WinDir: E:\WINNT
PWD = `/usr/src/auth_build'
CYGWIN = `ntsec'
USER = `administrator'
MAKE_MODE = `unix'
HOME = `/usr/home/administrator'
NUMBER_OF_PROCESSORS = `1'
PROMPT = `$P$G'
LD_RUN_PATH = `/usr/local/lib'
LOGONSERVER = `\\LIFELESSWKS'
OS2LIBPATH = `E:\WINNT\system32\os2\dll;'
COMSPEC = `E:\WINNT\system32\cmd.exe'
SYSTEMDRIVE = `E:'
HOSTNAME = `LIFELESSWKS'
PROCESSOR_REVISION = `0702'
PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
COMPUTERNAME = `LIFELESSWKS'
!E: = `E:\cygwin\bin'
CLASSPATH = `E:\Program Files\HEAT\navbar;%CLASSPATH%'
WINDIR = `E:\WINNT'
USERPROFILE = `E:\Documents and Settings\Administrator'
PS1 = `
\u@\h \w
$ '
PROGRAMFILES = `E:\Program Files'
FSERVER = `tcp/203.35.199.241:19114'
MACHTYPE = `i686-pc-cygwin'
PROCESSOR_IDENTIFIER = `x86 Family 6 Model 7 Stepping 2, GenuineIntel'
OS = `Windows_NT'
OLDPWD = `/usr/src'
CVS_RSH = `ssh'
PROCESSOR_ARCHITECTURE = `x86'
TEMP = `/cygdrive/e/DOCUME~1/ADMINI~1/LOCALS~1/Temp'
EDITOR = `vim'
PROCESSOR_LEVEL = `6'
SYSTEMROOT = `E:\WINNT'
HOMEDRIVE = `E:'
ALLUSERSPROFILE = `E:\Documents and Settings\All Users'
SHLVL = `1'
APPDATA = `E:\Documents and Settings\Administrator\Application Data'
COMMONPROGRAMFILES = `E:\Program Files\Common Files'
HOMEPATH = `\'
USERDOMAIN = `LIFELESSWKS'
USERNAME = `administrator'
SHELL = `/bin/sh'
HOSTTYPE = `i686'
OSTYPE = `cygwin'
TERM = `cygwin'
_ = `/bin/cygcheck'
TZ = `SST-10SDT-11,M8.5.0/2,M3.5.0/2'
HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
(default) = `/cygdrive'
cygdrive flags = 0x00000022
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/t
(default) = `f:'
flags = 0x00000002
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\f:
(default) = `\t'
flags = 0x00000002
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MenuOrder\Start Menu\
Programs\Cygnus Solutions
(default) = (unsupported type)
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/
(default) = `E:\cygwin'
flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/mnt/cdrom
(default) = `g:'
flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
(default) = `E:/cygwin/bin'
flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/install
(default) = `d:\install'
flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
(default) = `E:/cygwin/lib'
flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/local/squid/cache2
(default) = `f:\cache2'
flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/src
(default) = `f:\src'
flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Management\ARPCache\Cygnu
s Cygwin B20
(default) = (unsupported type)
Changed = 0x00000000
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Cygnus Cygwin B20
(default) = `E:\WINNT\IsUninst.exe -fe:\cygnus\cygwin-b20\Uninst.isu'
DisplayName = `Cygwin B20'
a: fd N/A N/A
c: hd FAT 101Mb 50% CP UN
d: hd NTFS 7161Mb 91% CP CS UN PA FC D1
e: hd NTFS 4479Mb 94% CP CS UN PA FC
f: hd NTFS 4102Mb 91% CP CS UN PA FC New Volume
g: cd N/A N/A
h: cd CDFS 452Mb 100% CS UN CTP2
i: hd NTFS 7161Mb 42% CP CS UN PA FC D2
E:\cygwin\bin /usr/bin system binmode
E:\cygwin\lib /usr/lib system binmode
d:\install /usr/install system binmode
E:\cygwin / system binmode
f:\cache2 /usr/local/squid/cache2 system binmode
f:\src /usr/src system binmode
f: /t user binmode
g: /mnt/cdrom system binmode
Found: E:\cygwin\bin\bash.exe
Found: E:\cygwin\bin\cat.exe
Found: E:\cygwin\bin\cpp.exe
Found: E:\cygwin\bin\find.exe
Found: E:\cygwin\bin\gcc.exe
Found: E:\cygwin\bin\gdb.exe
Found: E:\cygwin\bin\ld.exe
Found: E:\cygwin\bin\ls.exe
Found: E:\cygwin\bin\make.exe
Found: E:\cygwin\bin\sh.exe
56k 2000/12/03 E:\cygwin\bin\cygbz21.0.dll - os=4.0 img=1.0 sys=4.0
"cygbz21.0.dll" v0.0 ts=2000/11/21 10:53
45k 2000/12/07 E:\cygwin\bin\cygform5.dll - os=4.0 img=1.0 sys=4.0
"cygform5.dll" v0.0 ts=2000/12/7 17:41
18k 2000/10/23 E:\cygwin\bin\cyggdbm.dll - os=4.0 img=1.0 sys=4.0
"cyggdbm.dll" v0.0 ts=2000/10/23 13:26
17k 2000/11/30 E:\cygwin\bin\cyghistory4.dll - os=4.0 img=1.0 sys=4.0
"cyghistory4.dll" v0.0 ts=2000/11/30 13:28
14k 2000/10/23 E:\cygwin\bin\cygintl.dll - os=4.0 img=1.0 sys=4.0
"cygintl.dll" v0.0 ts=2000/10/24 6:02
81k 2000/12/05 E:\cygwin\bin\cygitcl30.dll - os=4.0 img=1.0 sys=4.0
"cygitcl30.dll" v0.0 ts=2000/11/26 12:43
35k 2000/12/05 E:\cygwin\bin\cygitk30.dll - os=4.0 img=1.0 sys=4.0
"cygitk30.dll" v0.0 ts=2000/11/26 12:43
45k 2000/10/22 E:\cygwin\bin\cygjbig1.dll - os=4.0 img=1.0 sys=4.0
"cygjbig1.dll" v0.0 ts=2000/10/23 10:06
119k 2000/10/23 E:\cygwin\bin\cygjpeg6b.dll - os=4.0 img=1.0 sys=4.0
"cygjpeg6b.dll" v0.0 ts=2000/10/23 11:58
26k 2000/12/07 E:\cygwin\bin\cygmenu5.dll - os=4.0 img=1.0 sys=4.0
"cygmenu5.dll" v0.0 ts=2000/12/7 17:40
159k 2000/12/07 E:\cygwin\bin\cygncurses++5.dll - os=4.0 img=1.0 sys=4.0
"cygncurses++5.dll" v0.0 ts=2000/12/7 17:42
225k 2000/12/07 E:\cygwin\bin\cygncurses5.dll - os=4.0 img=1.0 sys=4.0
"cygncurses5.dll" v0.0 ts=2000/12/7 17:39
15k 2000/12/07 E:\cygwin\bin\cygpanel5.dll - os=4.0 img=1.0 sys=4.0
"cygpanel5.dll" v0.0 ts=2000/12/7 17:40
162k 2000/10/23 E:\cygwin\bin\cygpng2.dll - os=4.0 img=1.0 sys=4.0
"cygpng2.dll" v0.0 ts=2000/10/23 11:40
108k 2000/11/30 E:\cygwin\bin\cygreadline4.dll - os=4.0 img=1.0 sys=4.0
"cygreadline4.dll" v0.0 ts=2000/11/30 13:28
390k 2000/12/05 E:\cygwin\bin\cygtcl80.dll - os=4.0 img=1.0 sys=4.0
"cygtcl80.dll" v0.0 ts=2000/11/26 12:39
5k 2000/12/05 E:\cygwin\bin\cygtclpip80.dll - os=4.0 img=1.0 sys=4.0
10k 2000/12/05 E:\cygwin\bin\cygtclreg80.dll - os=4.0 img=1.0 sys=4.0
"cygtclreg80.dll" v0.0 ts=2000/11/26 12:39
243k 2000/10/23 E:\cygwin\bin\cygtiff3.dll - os=4.0 img=1.0 sys=4.0
"cygtiff3.dll" v0.0 ts=2000/10/23 12:14
623k 2000/12/05 E:\cygwin\bin\cygtk80.dll - os=4.0 img=1.0 sys=4.0
"cygtk80.dll" v0.0 ts=2000/11/26 12:43
41k 2000/11/20 E:\cygwin\bin\cygXpm-noX4.dll - os=4.0 img=1.0 sys=4.0
"cygXpm-noX4.dll" v0.0 ts=2000/11/20 13:41
45k 2000/11/20 E:\cygwin\bin\cygXpm-X4.dll - os=4.0 img=1.0 sys=4.0
"cygXpm-X4.dll" v0.0 ts=2000/11/20 13:45
49k 2000/10/23 E:\cygwin\bin\cygz.dll - os=4.0 img=1.0 sys=4.0
"cygz.dll" v0.0 ts=2000/10/23 11:22
611k 2000/12/25 E:\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
"cygwin1.dll" v0.0 ts=2000/12/26 4:39
Cygwin DLL version info:
dll major: 1001
dll minor: 7
dll epoch: 19
dll bad signal mask: 19005
dll old termios: 5
dll malloc env: 28
api major: 0
api minor: 31
shared data: 3
dll identifier: cygwin1
mount registry: 2
cygnus registry name: Cygnus Solutions
cygwin registry name: Cygwin
program options name: Program Options
cygwin mount registry name: mounts v2
cygdrive flags: cygdrive flags
cygdrive prefix: cygdrive prefix
cygdrive default prefix:
build date: Mon Dec 25 12:39:48 EST 2000
shared id: cygwin1S3
Use -h to see help about each section
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple
- Raw text -