def METHOD_NAME(mode):
    if mode:
        cronParent = '/var/spool/cron'
        commandT = 'chmod 755 %s' % (cronParent)
        ProcessUtilities.executioner(commandT, 'root')
        if ProcessUtilities.decideDistro() == ProcessUtilities.ubuntu or ProcessUtilities.decideDistro() == ProcessUtilities.ubuntu20:
            command = 'chmod 755 /var/spool/cron/crontabs'
            ProcessUtilities.outputExecutioner(command)
    else:
        cronParent = '/var/spool/cron'
        commandT = 'chmod 700 %s' % (cronParent)
        ProcessUtilities.executioner(commandT, 'root')
        if ProcessUtilities.decideDistro() == ProcessUtilities.ubuntu or ProcessUtilities.decideDistro() == ProcessUtilities.ubuntu20:
            command = 'chmod 1730 /var/spool/cron/crontabs'
            ProcessUtilities.outputExecutioner(command)