Hrvoje Niksic schrieb:
Kentaro Ozawa <[EMAIL PROTECTED]> writes:
When the local file does not have write permission, wget displays
permission error.
wget version is 1.10 and 1.10.1.
wget 1.9.1 does not have this problem.
I'm not sure I understand you correctly, but I can't repeat what you
seem to describe. For example:
$ touch index.html
$ chmod 0 index.html
$ wget www.cnn.com
--11:02:19-- http://www.cnn.com/
=> `index.html.1'
...
11:02:33 (29.90 KB/s) - `index.html.1' saved [62344/62344]
Do you have a recipe of how to repeat the problem?
Hmm, this did not actually try to write over 'index.html', did it ;-)
Do the same with 'timestamping on' and you get
(not surprisingly and with 'all' wget versions I have around) :
index.html: Permission denied
Cannot write to `index.html' (Permission denied).
Jochen Roderburg
ZAIK/RRZK
University of Cologne
Robert-Koch-Str. 10 Tel.: +49-221/478-7024
D-50931 Koeln E-Mail: [EMAIL PROTECTED]
Germany