On 2016-06-04 12:06 PM, Huji Lee wrote:
Is the source code of this "take" script somewhere public? I wonder how it works.

It's in git: https://phabricator.wikimedia.org/diffusion/LTOL/browse/master/src/take.cc

It works because it does the chown as root; but most of the code is security rather than the actual work. :-)

-- Marc


_______________________________________________
Labs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/labs-l

Reply via email to