https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17717 --- Comment #48 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- (In reply to Marco Moreno from comment #47)
Understanding the problem is necessary to determine the best solution. [...] 5. Change the current directory to one that is readable by modifying all code that performs a "sudo -u". This may be as simple as adding "cd /tmp" at the beginning of /usr/sbin/koha-foreach and /usr/sbin/koha-rebuild-zebra. Possibly the best solution for now.
Option #5 seems like the best one for now. It is a clear, one-line solution that doesn't require modifying any crons.
I would agree. Put cd /tmp very close to the sudo -u. Adding it in cron is more confusing. Clear argumentation imo! -- You are receiving this mail because: You are watching all bug changes.