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

pylibacl



Hi

I am trying to fix this ticket http://mds.mandriva.org/ticket/241. How
can I add the default ACLs for a group using pylibacl? I have tried
this, but raises an error:

acl1 = ACL(file=path)

e = acl1.append()
e.permset.add(ACL_READ)
e.permset.add(ACL_WRITE)
e.permset.add(ACL_EXECUTE)
e.tag_type = ACL_GROUP_OBJ
e.qualifier = int(gidNumber)

Regards.


Reply to: