Issue #2351691 by dunix: fixed Access denied when downloading private files