Skip to main content

seteuid

Discworld efun help

seteuid

int seteuid(string str)

Set effective uid to str. It is not possible to set it to any string. It can always be set to getuid(), the creator of the file for this object or 0.

When this value is 0, then current objects uid can be changed by export_uid(), and only then.

But, when the value is 0, no objects can be loaded or cloned by this object.

See also

export_uid, getuid.