We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d54457 commit c529e0dCopy full SHA for c529e0d
1 file changed
plogical/cronUtil.py
@@ -95,11 +95,20 @@ def CronPrem(mode):
95
cronParent = '/var/spool/cron'
96
commandT = 'chmod 755 %s' % (cronParent)
97
ProcessUtilities.executioner(commandT, 'root')
98
+
99
+ if ProcessUtilities.decideDistro() == ProcessUtilities.ubuntu:
100
+ command = 'chmod 755 /var/spool/cron/crontabs'
101
+ ProcessUtilities.outputExecutioner(command)
102
103
else:
104
105
commandT = 'chmod 700 %s' % (cronParent)
106
107
108
109
+ command = 'chmod 1730 /var/spool/cron/crontabs'
110
111
112
113
114
def main():
0 commit comments