The remote enable option of the softioc/xxx.pl script creates the txt file with the procServ info in the PWD, which is often the user's home directory:
|
system("cd $FindBin::RealBin; $PROCSERV --allow --quiet --oneshot -L $LOG_FILE -i ^C --logoutcmd=^D -I $prefix.txt $ip_addr:$port $FindBin::RealBin/$FindBin::RealScript remote commandline"); |
This causes problems when trying to start an IOC as different user account, which lacks the info file in its home directory, resulting in the IOC being started in screen session by the 2nd user account, rather than the procServ session of the 1st user account.