I follow a tutorial to secure my /etc/fstab file. This is a certain part about /var and /tmp
UUID=XXXX-XXXX-XXXX /var ext4 defaults,nodev,nosuid,noexec 1 2 UUID=ZZZZ-ZZZZ-ZZZZ /tmp ext4 defaults,nodev,nosuid,noexec 1 2
I executed the following commands to test the configuration :
touch /tmp/testFile chmod u+s /tmp/testFile
I was expecting an error message but nothing... Is it normal ? Is it dangerous ?