I found a reproducible issue with Rsync Tasks → Additional Parameters on TrueNAS 25.10.7.
I am using an Rsync Task in PULL mode over SSH.
The remote SSH user is truenas, and rsync needs to be executed through sudo on the remote Rocky Linux server in order to read all files under /home.
Therefore, I add the following parameter:
--rsync-path=sudo\ /usr/bin/rsync
When I enter this parameter and save the Rsync Task, it is stored as a single Additional Parameter and works correctly.
I confirmed that the scheduled Rsync Task completes successfully in this state.
However, if I reopen the Rsync Task edit screen, the Web UI automatically splits the parameter into two separate entries:
--rsync-path=sudo
/usr/bin/rsync
If I save the task in this state, the task subsequently fails with:
rsync command returned 1 - SYNTAX
The job log contains:
Unexpected remote arg: truenas@10.10.0.6:/home/
rsync error: syntax or usage error (code 1)
I also checked the task using:
midclt call rsynctask.query '[["id","=",1]]'
After the parameter has been split, the extra value is stored as:
["--rsync-path=sudo", "/usr/bin/rsync"]
Steps to reproduce:
- Create or edit an Rsync Task.
- Enter
--rsync-path=sudo\ /usr/bin/rsyncin Additional Parameters. - Save the task.
- Run the task. It works successfully.
- Open the same Rsync Task for editing again.
- The Web UI now displays the original parameter as two separate Additional Parameters:
--rsync-path=sudo/usr/bin/rsync
- Save the task without correcting them.
- The next execution fails with rsync syntax error (code 1).
Expected behavior:
When reopening the Rsync Task edit screen, --rsync-path=sudo\ /usr/bin/rsync should remain a single Additional Parameter and should not be split by the Web UI.
Workaround:
Each time the Rsync Task is edited, I have to remove the split parameters and re-enter:
--rsync-path=sudo\ /usr/bin/rsync
before saving.
I have reproduced this behavior multiple times on TrueNAS 25.10.7.
I have attached screenshots showing the parameter before and after reopening the edit screen.

