Exported data is by default owned by the nidb user. * Add nidb to the sudoers file to allow chmod
Exported data is by default owned by the nidb user.