[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[rdiff-backup-users] MacOS X "nobody" UID at -2 causes OverflowError

From: Charles Duffy
Subject: [rdiff-backup-users] MacOS X "nobody" UID at -2 causes OverflowError
Date: Sun, 16 May 2010 21:12:16 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)


MacOS X puts nobody's UID at -2 in /etc/passwd, which comes out to 4294967294.

Even with a current (2.6.1) Python interpreter, the call to
  tmp_rp.chown(uid+1, gid+1) # just choose random uid/gid
in FSAbilities.set_ownership() results in an OverflowError.

Perhaps it would make sense to hardcode the UID we test with to something
known to be reasonable?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]