I saw “Permission denied”. Are you running the command using the root user?
A temporary solution is to use sudo
sudo rosinstall_generator ros_comm --rosdistro noetic --deps --wet-only --tar > noetic-ros_comm-wet.rosinstall
Otherwise, use a normal user like what I did (I used the pi
user).