That should work. Double check file permissions. In the dashboard, click on scan all libraries. Jellyfin won't pick up the file name change until it scans again.
Jellyfin 10.10.3 (Docker)
Ubuntu 24.04 LTS
Intel i3 12100
Intel Arc A380
OS drive - SK Hynix P41 1TB
Storage
3x WD Red Pro 6TB CMR in RAIDZ1 (JF Library)