add chmod to folder root path as well