This may not be valgrind specific. I see something similar with gdb itself:
$ gdb (gdb) attach 1766 Attaching to process 1766 ptrace: Operation not permitted. Process 1766 is owned by the same user as gdb. -- valgrind --db-attach /proc/$PID/fd permission problem https://bugs.launchpad.net/bugs/329221 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs