bash – SETUID not working in my laptop

Suppose i have two files

total 8
-r-sr-xr-x 1 root root 34 Oct  8 17:36
-rwx------ 1 root root 38 Oct  8 17:34 root.txt

Content in root.txt :

Hi I am root file.

Content in :


cat root.txt

And now i am regular user (for example : person1). I execute command below:


The output is below :

cat: root.txt: Permission denied

which means i cannot open root.txt.
How does it happen?