]> arthur.barton.de Git - bup.git/commit
Allow chown to uid:0 to succeed.
authorDickon Reed <dickon.reed@gmail.com>
Fri, 18 Mar 2011 19:25:38 +0000 (12:25 -0700)
committerAvery Pennarun <apenwarr@gmail.com>
Sun, 20 Mar 2011 07:22:54 +0000 (00:22 -0700)
commited883927fa652ec9300769701e8f124bd5bebde4
treebe0a00a0143b5b196393704304c39c42af404d2a
parent704a672741345514bd5245eee3e6a54382cd48c9
Allow chown to uid:0 to succeed.

The test case assumed that it was not possible to set uid:0 on a file,
which is to say that the current user is not a member of group
0. That's an environmental assumption which is not universal (I am a
counterexample).

Modified lib/bup/t/tmetadata.py
lib/bup/t/tmetadata.py