What distribution is that on? At least Ubuntu has had ptrace capabilities restricted to superuser processes and descendants for many years now, as far as I can remember.
/proc/$pid/mem access needs ptrace permissions as well and accordingly follows the same rules.
/proc/$pid/mem access needs ptrace permissions as well and accordingly follows the same rules.