Cannot set time on read-only file (Win2k)

Andrej Borsenkow Andrej.Borsenkow@mow.siemens.ru
Fri May 4 05:45:00 GMT 2001


I noticed this problem when mirroring off Unix site - if file is read-only,
time cannot be set. This of course confuses mirror a bit (why I had to mirror
under Cygwin is another sad story :-)

mw1g017@MW1G17C% ll ld-linux.so.2
-r-xr-xr-x   1 mw1g017  ITS         87036 Apr 18 10:19 ld-linux.so.2*
mw1g017@MW1G17C% touch ld-linux.so.2
touch: ld-linux.so.2: Permission denied
mw1g017@MW1G17C% chmod u+w ld-linux.so.2
mw1g017@MW1G17C% touch ld-linux.so.2

This is somewhat unexpected and does not correspond to Unix. Is it possible to
change it or is it Windows restriction?

System is WIn2kSP1, cygwin-1.3.1

TIA

-andrej

Have a nice DOS!
B >>


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list