[1.7.x] Fixed #23097 -- Switched to new octal format in docs

Backport of e1c85167a3 from master.