Sabre Interview Question

chmod in lunx, c++ code analysis