Class Entry
object --+
|
Entry
Type which represents an entry in an ACL.
The type exists only if the OS has full support for POSIX.1e Can be
created either by:
>>> e = posix1e.Entry(myACL)
>>> e = myACL.append()
or by:
>>> for entry in myACL:
... print entry
Note that the Entry keeps a reference to its ACL, so even if you
delete the ACL, it won't be cleaned up and will continue to exist until
its Entry(ies) will be deleted.
|
__init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature |
|
|
a new object with type S, a subtype of T
|
|
|
|
|
copy(...)
Copy an ACL entry. |
|
|
Inherited from object :
__delattr__ ,
__getattribute__ ,
__hash__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__
|
|
parent
The parent ACL of this entry
|
|
permset
The permission set of this ACL entry
|
|
qualifier
The qualifier of the current entry
|
|
tag_type
The tag type of the current entry
|
Inherited from object :
__class__
|
__init__(...)
(Constructor)
|
|
x.__init__(...) initializes x; see x.__class__.__doc__ for
signature
- Overrides:
object.__init__
|
- Returns: a new object with type S, a subtype of T
- Overrides:
object.__new__
|
__str__(x)
(Informal representation operator)
|
|
str(x)
- Overrides:
object.__str__
|
Copy an ACL entry.
This method sets all the parameters to those of another entry, even
one of another's ACL Parameters:
-
src, instance of type Entry
|
qualifier
The qualifier of the current entry
If the tag type is ACL_USER, this should be a user id. If the tag type
if ACL_GROUP, this should be a group id. Else, it doesn't matter.
|
tag_type
The tag type of the current entry
This is one of:
-
ACL_UNDEFINED_TAG
-
ACL_USER_OBJ
-
ACL_USER
-
ACL_GROUP_OBJ
-
ACL_GROUP
-
ACL_MASK
-
ACL_OTHER
|