Create the backend and frontend directories with the given permissions