The SUID or SGID bits are special attributes, for a file, provided in Unix or Linux-like operating systems besides the read/write/execute permissions. The SUID attributes 'set' for a file mean that while executing the file, your user would be set as the owner of the file. If the SUID bit is not set, the user has to type
su and get temporary superuser access to execute the file. This may be a security risk if the SUID bit is set for scripts or commands which have
root as their owner, because the scripts or commands will be executed with superuser privilege even when the script is being executed with an unprivileged user.