[Dev OpenGP] [71] Some TODOs : chown and chmod |
[ Thread Index |
Date Index
| More opengp.tuxfamily.org/development Archives
]
Revision: 71
Author: alband85
Date: 2009-03-21 14:11:58 +0100 (Sat, 21 Mar 2009)
Log Message:
-----------
Some TODOs : chown and chmod
Modified Paths:
--------------
trunk/src/lib/ogp/plugins/plugin.py
Modified: trunk/src/lib/ogp/plugins/plugin.py
===================================================================
--- trunk/src/lib/ogp/plugins/plugin.py 2009-03-21 11:18:45 UTC (rev 70)
+++ trunk/src/lib/ogp/plugins/plugin.py 2009-03-21 13:11:58 UTC (rev 71)
@@ -69,7 +69,22 @@
Do not commit and discard changes.
"""
pass
-
+
+ def chown(self, filename, uid=None, gid=None):
+ """
+ Changes owner, changes the user and/or group ownership of
+ the given file
+ """
+ #TODO
+ pass
+
+ def chmod(self, filename, uw, ux, us, gs, t):
+ """
+ Changes the permissions of the given file according to mode
+ """
+ #TODO
+ pass
+
# Abstract methods
def installConf(self):
"""