Artificial intelligent assistant

What is chmod 6050 good for Recently I came across to command: chmod -R 6050 /usr/lib/hadoop-yarn/bin/container-executor I don't know what that mean? I know file permissions like 777 etc. in a mode rwx for owner group others. But this results in ---Sr-s---. 1 root hadoop 36024 Oct 17 20:40 container-executor Can someone please explain a bit?

The `050` should be clear, that sets read and execute bits for the group the first `6` sets the set-user-ID and set-group-ID bits (see `man 2 chmod`). Effectively this means that executing `container-extractor` can only be done by `root` or members of the group `hadoop` and that the executable runs with effective `uid` being `root` and effective `gid` being `hadoop`.

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy 13627ab49fe0c6d95a4d37d4e80887bb