【发布时间】:2018-08-10 04:37:09
【问题描述】:
我在看this article。
它建议允许当前用户在没有 root 的情况下使用 dtrace,所以我运行:
$ sudo chmod u+s /usr/sbin/dtrace
Password: # I enter in my password
chmod: Unable to change file mode on /usr/sbin/dtrace: Operation not permitted
有谁知道我是否应该以及应该如何允许 dtrace 在没有 root 权限的情况下运行?
【问题讨论】:
标签: macos sudo chmod ptrace dtrace