Home | Trees | Indices | Help |
|
---|
|
object --+ | Permset
Type which represents the permission set in an ACL entry
The type exists only if the OS has full support for POSIX.1e Can be retrieved either by:
>>> perms = myEntry.permset
or by:
>>> perms = posix1e.Permset(myEntry)
Note that the Permset keeps a reference to its Entry, so even if you delete the entry, it won't be cleaned up and will continue to exist until its Permset will be deleted.
|
|||
|
|||
a new object with type S, a subtype of T |
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
execute Execute permsission |
|||
read Read permsission |
|||
write Write permsission |
|||
Inherited from |
|
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
|
|
str(x)
|
Add a permission to the permission set. The add() function adds the permission contained in the argument perm to the permission set. An attempt to add a permission that is already contained in the permission set is not considered an error. Parameters:
Return value: None Can raise: IOError |
Delete a permission from the permission set. The delete() function deletes the permission contained in the argument perm from the permission set. An attempt to delete a permission that is not contained in the permission set is not considered an error. Parameters:
Return value: None Can raise: IOError |
Test if a permission exists in the permission set. The test() function tests if the permission contained in the argument perm exits the permission set. Parameters:
Return value: Boolean Can raise: IOError |
|
executeExecute permsission This is a convenience method of access; the same effect can be achieved using the functions add(), test(), delete(), and those can take any permission defined by your platform. |
readRead permsission This is a convenience method of access; the same effect can be achieved using the functions add(), test(), delete(), and those can take any permission defined by your platform. |
writeWrite permsission This is a convenience method of access; the same effect can be achieved using the functions add(), test(), delete(), and those can take any permission defined by your platform. |
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Mon Feb 1 22:41:42 2010 | http://epydoc.sourceforge.net |