You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When there is a folder which is shielded from the public, mb crashes:
Traceback (most recent call last):
File "/usr/bin/mb", line 1645, in
r = mirrordoctor.main()
File "/usr/lib/pymodules/python2.6/cmdln.py", line 257, in main
return self.cmd(args)
File "/usr/lib/pymodules/python2.6/cmdln.py", line 280, in cmd
retval = self.onecmd(argv)
File "/usr/lib/pymodules/python2.6/cmdln.py", line 412, in onecmd
return self._dispatch_cmd(handler, argv)
File "/usr/lib/pymodules/python2.6/cmdln.py", line 1100, in _dispatch_cmd
return handler(argv[0], opts, *args)
File "/usr/bin/mb", line 1036, in do_makehashes
src_basenames = set(os.listdir(src_dir))
OSError: [Errno 13] Permission denied: '/srv/kde/stable/4.8.2'
This setup is used by KDE to provide pre-release tarballs to packagers. When
they are released, they get their public read bit set.
Mirrorbrain should not crash, but just give a warning and continue the hashing
job.
I see - I didn't foresee this use case yet. (I solved that in a different way, by
setting ownership such that mb makehashes can always see all files.) Right, mb
should not fail here.
Thanks for the report!
Issue migrated (2015-06-05) from old issue tracker http://mirrorbrain.org/issues/issue105
msg368 (view) Author: toma Date: 2012-03-30.16:54:53
When there is a folder which is shielded from the public, mb crashes:
Traceback (most recent call last):
File "/usr/bin/mb", line 1645, in
r = mirrordoctor.main()
File "/usr/lib/pymodules/python2.6/cmdln.py", line 257, in main
return self.cmd(args)
File "/usr/lib/pymodules/python2.6/cmdln.py", line 280, in cmd
retval = self.onecmd(argv)
File "/usr/lib/pymodules/python2.6/cmdln.py", line 412, in onecmd
return self._dispatch_cmd(handler, argv)
File "/usr/lib/pymodules/python2.6/cmdln.py", line 1100, in _dispatch_cmd
return handler(argv[0], opts, *args)
File "/usr/bin/mb", line 1036, in do_makehashes
src_basenames = set(os.listdir(src_dir))
OSError: [Errno 13] Permission denied: '/srv/kde/stable/4.8.2'
This setup is used by KDE to provide pre-release tarballs to packagers. When
they are released, they get their public read bit set.
Mirrorbrain should not crash, but just give a warning and continue the hashing
job.
msg383 (view) Author: poeml Date: 2012-04-16.04:45:26
I see - I didn't foresee this use case yet. (I solved that in a different way, by
setting ownership such that mb makehashes can always see all files.) Right, mb
should not fail here.
Thanks for the report!
msg394 (view) Author: toma Date: 2012-05-28.13:04:53
--- mb.orig 2012-05-28 13:03:55.000000000 +0000
+++ mb 2012-05-28 12:48:30.000000000 +0000
@@ -1040,7 +1040,11 @@
msg395 (view) Author: poeml Date: 2012-05-31.20:45:13
Great, thanks!! Submitted to svn trunk.
http://svn.mirrorbrain.org/viewvc/mirrorbrain?view=revision&revision=8293
msg462 (view) Author: poeml Date: 2014-01-22.20:19:39
I'll close this bug since it's fixed in SVN and I don't expect problems. It'll ship
with 2.18.0.
(end of migrated issue)
The text was updated successfully, but these errors were encountered: