rdiff-backup-users
[Top][All Lists]
Advanced

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

Re: [rdiff-backup-users] hasfullperms(), isgroup() and funny indexes


From: Ben Escoto
Subject: Re: [rdiff-backup-users] hasfullperms(), isgroup() and funny indexes
Date: Mon, 17 May 2004 23:47:17 -0700

>>>>> Ben Escoto <address@hidden>
>>>>> wrote the following on Mon, 17 May 2004 18:37:16 -0700

> Someone please correct this if it's wrong.  I really haven't used
> groups much---the above is just my intuitive understanding.

Oops, as Ryan suggested, this is all wrong.  (The group stuff on my
laptop seems to be broken, so I didn't notice this.)  I guess all the
groups are checked for permission.  I just changed isgroup() in
rpath.py from

    return self.conn.Globals.get('process_gid') == self.data['gid']

to

    return self.data['gid'] in self.conn.Globals.get('process_groups')

Hopefully this fixes the problem.


-- 
Ben Escoto

Attachment: pgp_akNAh8acR.pgp
Description: PGP signature


reply via email to

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