diff --git a/ChangeLog b/ChangeLog index 2f5bff718..9ae708c13 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,6 @@ 2006-09-01 Brian Matherly * src/plugins/Calendar.py: fix filter typo + * src/plugins/WritePkg.py: don't set uid on Windows 2006-09-01 Alex Roitman * src/GrampsDb/_DbUtils.py: Use normal addition: this updates diff --git a/src/plugins/WritePkg.py b/src/plugins/WritePkg.py index 36b2b106a..9e5469145 100644 --- a/src/plugins/WritePkg.py +++ b/src/plugins/WritePkg.py @@ -188,8 +188,9 @@ class PackageWriter: tarinfo = tarfile.TarInfo('data.gramps') tarinfo.size = len(g.getvalue()) tarinfo.mtime = time.time() - tarinfo.uid = os.getuid() - tarinfo.gid = os.getgid() + if os.sys.platform != "win32": + tarinfo.uid = os.getuid() + tarinfo.gid = os.getgid() g.seek(0) archive.addfile(tarinfo,g) archive.close()