[#1880] update libexamplefilesystem.cpp with run as root code