Page MenuHomePhabricator

disable recursive chmod on nfs-memc:/mnt/export
Closed, ResolvedPublic


Caught that job:

827 ?        Ss     0:04 cron

26116 ? S 0:00 \_ CRON
26117 ? Ss 0:00 \_ /bin/sh -c /var/fs
26118 ? S 0:00 \_ /bin/sh /var/fs
26331 ? D 0:01 \_ chmod g+rw -R /mnt/export

On deployment-nfs-memc. I suspect it to slowdown the deployment-prep project.

Version: unspecified
Severity: normal



Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 12:22 AM
bzimport set Reference to bz37116.
bzimport added a subscriber: Unknown Object (MLST).

I have disabled the script /var/fs by adding an early exit 0.

Need to find out which cron trigger the job though.

operations done by the /var/fs script are:

chgrp depops -R /mnt/export
chgrp www-data -R /mnt/upload
chmod g+w -R /mnt/upload
chmod g+rw -R /mnt/export

The cron entry was in /etc/crontab :

15:00 * * * * root /var/fs

I have removed the cron entry as well as the script.