fixed permissions when setting up a server