Fix deploy permissions, add private file path