]> arthur.barton.de Git - bup.git/commit
Fall back from mknod() to socket()/bind() on EPERM for SOCK_STREAM.
authorRob Browning <rlb@defaultvalue.org>
Tue, 8 Oct 2013 16:18:00 +0000 (11:18 -0500)
committerRob Browning <rlb@defaultvalue.org>
Tue, 8 Oct 2013 16:18:02 +0000 (11:18 -0500)
commitc3f7f6df16c889fc60d29ef71aef2319cac026b0
treeda0440eb6ff46f14553ddb80600afe46376a91cc
parent4be97d75e109a339568aecd349302f1cce9faa23
Fall back from mknod() to socket()/bind() on EPERM for SOCK_STREAM.

Apparently OS X is throwing EPERM for mknod(... SOCK_STREAM), and the
current OS X manpage does state that mknod() requires superuser
privileges.

Thanks to Zoran Zaric <zz@zoranzaric.de> for the report.

Signed-off-by: Rob Browning <rlb@defaultvalue.org>
lib/bup/metadata.py