--- Comment #52 from Tomás Cohen Arazi <tomasco...@gmail.com> ---
(In reply to Marcel de Rooy from comment #48)
> (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!
If there's a /tmp/Koha directory, without read permissions for the instance's
user it will still fail. I think we should jump into the instance's home
directory and I'm providing a patch to do so.
You are receiving this mail because:
You are watching all bug changes.
Koha-bugs mailing list
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/