Bart Smaalders wrote:
http://cr.opensolaris.org/~barts/user+group_actions/


Add user and group actions....

more will be added later (user_attr attributes in particular),
but this makes upgrades much nicer for now.

Only some minor stuff as far as I can see Bart...

group.py:
    Lines 65,77,88:
        To be consistent with user.py, should you import * from pkg.cfgfiles
        and use the unqualified name for GroupFile on these lines?

user.py:
    Lines 126-129:
        Are these print statements just for debugging? If so, should they be
        removed before checkin?

    Lines 137,141:
        Would it be possible to wrap these in a test of the value of the
        'ftpuser' attribute or do you envisage a situation where some
        earlier call could add a user to ftpusers, and a later call would
        say to not have this user in ftpusers?

cfgfiles.py:
    Line 190:
        I'm not sure I can think of a good reason why anyone would set ACLs
        on these files, but if they did, the ACL's would be not be preserved.

    Line 211:
        There appears to be an extra indentation on this line.

    Do you think there is any need to keep track of when the file was read
    just in case something else writes the file after we have read it, but
    before we write it back?

    Lines 440-:
        I guess this is debugging/test. Do you need to keep it?

Trev

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to