OSError: [Errno 13] Permission denied: u'C:\\ubuntu\\install\\ubuntu-11.04-desktop-amd64.iso'

Asked by Duncan Lithgow

Windows 7, 64bit
Wubi for Ubuntu 11.04

I was asked to give the installer access to the network which I granted. This is a very restrictive network, so if wubi relies on ports other than 80 that might give problems. Ports 21, 22, 25 are definitely closed.

Wubi installer fails with error:

Ubuntu installer (my translation)
An error occured:
Permission denied
For more information, please see the log file:
c:\users\duncan\appdata\local\temp\wubi-11.04-rev211.log

The last part fo the log file is below, full log attached.

Traceback (most recent call last):
  File "\lib\wubi\application.py", line 57, in run
  File "\lib\wubi\application.py", line 131, in select_task
  File "\lib\wubi\application.py", line 157, in run_installer
  File "\lib\wubi\backends\common\tasklist.py", line 197, in __call__
  File "\lib\wubi\backends\common\backend.py", line 492, in get_iso
  File "\lib\wubi\backends\common\backend.py", line 347, in download_iso
OSError: [Errno 13] Permission denied: u'C:\\ubuntu\\install\\ubuntu-11.04-desktop-amd64.iso'

Looking at the permissions (right-click 'Properties > Security') of that iso file show that permissions for 'Authenticated users' are mod, r+x, r, w.

Interesting that the file size of that iso is 0 KB.

Question information

Language:
English Edit question
Status:
Solved
For:
Wubi Edit question
Assignee:
No assignee Edit question
Solved by:
Duncan Lithgow
Solved:
Last query:
Last reply:
Revision history for this message
bcbc (bcbc) said :
#1

Wubi uses a bittorrent downloader that does use other ports. This is being denied access somewhere:

05-10 12:56 ERROR TaskList: Traceback (most recent call last):
  File "\lib\bittorrent\RawServer.py", line 229, in listen_forever
  File "\lib\wubi\backends\common\btdownloader.py", line 70, in error_callback
DownloadError: Traceback (most recent call last):
  File "\lib\bittorrent\RawServer.py", line 221, in listen_forever
  File "\lib\bittorrent\Rerequester.py", line 96, in fail
  File "\lib\wubi\backends\common\btdownloader.py", line 70, in error_callback
DownloadError: Problem connecting to tracker - <urlopen error (10060, 'Operation timed out')>

If you have firewall issues, then download the ISO yourself using your browser (port 80) and save it in the same folder as wubi.exe and it will use that ISO. See the Wubi guide for more info: https://wiki.ubuntu.com/WubiGuide

Revision history for this message
bcbc (bcbc) said :
#2

Thanks for your bug report. I mistakenly set it to invalid whereas I should have converted it to a question to explain why it failed. If you still feel that the log file/message should have been clearer as to the actual problem, you are welcome to reopen your bug report (modify the status from Invalid to New) and explain in more detail as to what you think should have happened.

PS I am not a developer - and ultimately they will decide which bug reports are valid.

Revision history for this message
Duncan Lithgow (duncan-lithgow) said :
#3

I've created a proper bug report for this issue now at bug #780918 'Wubi fails without explanation on restrictive networks'

Revision history for this message
sebastian gonda (sebastiangonda) said :
#4

OSError: [Errno 13] Permission denied: u'C:\\ubuntu\\install\\ubuntu-11.04-desktop-amd64.iso'

can´t install wubi

Revision history for this message
Duncan Lithgow (duncan-lithgow) said :
#5

Sebastian, if you have a problem please create a new question. If you have new information about this problem please add it.