Oups i forgot to update the post...
The reason was the Mahara cron. In the root crontab I don't specified the web server user. The result was the leap export file was owned by root. Changing the crontab as specified in the mahra doc :
* * * * www-data php /path/to/mahara/htdocs/lib/...
solve the problem.
So HTML and leap export are processed from entirely different ways.
Thanks,
Bernard
]]>Are you still experiencing this issue?
The owner of /maharadata (and its subdirectories) should be www-data:www-data.
The apache users needs to have access to the entire data area.
Also, mahara/htdocs shouldn't be owned by the apache user. That would open up security issues. That directory should be owned by root.
Please let me know if you're still having an issue.
Thanks,
Ghada
]]>
fresh install of Mahara on Ubuntu 14.04 with Apache and Postgres
from "version. php" : version = 2015092912;release = '15.10.1';
When a user makes an html export all is ok, but when he uses the leap2a format, the download link give an 404 error.
This error comes from that Apache cannot read the files in /maharadata/export which are owned by root :
drwx- 3 www-data www-data 4096 Feb 24 15:41 1456324850
drwx- 3 root root 4096 Feb 24 15:42 1456324922
drwx- 3 root root 4096 Feb 24 15:48 1456325281
The first directory "1456324850" owned by www-data is the html export. The two others directories owned by root are leap exports.
After a "chown -R www-data:www-data" in mahara/htdocs and maharadata directories, the results are the same.
I need some help.
Cheers
Bernard
]]>