Browse Source

Crontabs are owned by the crontab group, so no change is

needed when converting a user.
pull/10/head
cns 16 years ago
committed by butlerx
parent
commit
25f82a7f5b
1 changed files with 1 additions and 6 deletions
  1. +1
    -6
      rbaccount.py

+ 1
- 6
rbaccount.py View File

@@ -25,7 +25,7 @@ from rbuser import *
# DATA #
#-----------------------------------------------------------------------------#

__version__ = '$Revision: 1.6 $'
__version__ = '$Revision: 1.7 $'
__author__ = 'Cillian Sharkey'

#-----------------------------------------------------------------------------#
@@ -230,11 +230,6 @@ class RBAccount:
#
self.cmd("%s -Rh %s %s %s" % (rbconfig.command_chgrp, newusr.gidNumber, self.shquote(newusr.homeDirectory), self.shquote(rbconfig.gen_webtree(oldusr.uid))))
# Change crontab group ownership to the new group.
#
if os.path.isfile("/var/spool/cron/crontabs/%s" % oldusr.uid):
self.wrapper(os.chown, "/var/spool/cron/crontabs/%s " % oldusr.uid, newusr.uidNumber, newusr.gidNumber)
# Add/remove from committee mailing list as appropriate.
#
if newusr.usertype == 'committe':


Loading…
Cancel
Save