News for hackers. Stuff that matters.
Re:How do groups work on Linux? by shabble on Tuesday November 21, 2017 @12:17PM (#15749498)

    shabble@host:~$ cp /bin/chmod /tmp/chmoo
    shabble@host:~$ chmod 600 /tmp/chmoo
    shabble@host:~$ ll /tmp/ch*
    -rw------- 1 shabble shabble 59K Nov 21 17:15 /tmp/chmoo
    shabble@host:~$ /tmp/chmoo
    -bash: /tmp/chmoo: Permission denied
    shabble@host:~$ /lib64/ld-linux-x86-64.so.2 /tmp/chmoo
    /tmp/chmoo: missing operand
    Try '/tmp/chmoo --help' for more information.
Re:How do groups work on Linux? by ansible on Tuesday November 21, 2017 @02:10PM (#15750618)
Well, that's a new one on me. I'd just have 'cat'ted the chmod executable onto some other executable, which keeps the permissions.
Re:How do groups work on Linux? by AnIdiotOnTheNet on Tuesday November 21, 2017 @04:47PM (#15751912)
This technique fails if chmod is compiled statically.