我在RaspberryPi2(RaspbianJessie)上运行zsh。zshcompinit提示/tmp目录不安全。所以,我检查了目录的权限:$compauditThereareinsecuredirectories:/tmp$ls-ld/tmpdrwxrwxrwt13rootroot16384Apr1011:17/tmp显然任何人都可以在/tmp目录中做任何事情。考虑到它的目的,这是有道理的。所以我尝试了thisstackoverflowquestion上的建议.我还在其他网站上尝试了类似的建议。具体来说,它建议关闭对该目录的组写权限。由于根据ls-ld权限看起来如何,我还必须关