So the following code has an issue that I haven\'t been able to solve.
Under normal conditions, is user1 performs the command that calls this, everything works as exp