
zsh compinit: insecure directories and files
走っている間見ましたcompinit
。うん、私も見たこの投稿そしてこのU&L投稿、および様々な関連記事。これらすべての例では、回避策はグループとワールドから書き込み権限を削除することです。しかし、私の場合、そのディレクトリはグループや世界が書けないディレクトリです。
$ compaudit
There are insecure directories and files:
/path/to/modules/init/zsh-functions
/path/to/modules/init
/path/to/modules/init/zsh-functions/_module
$ ll /path/to/modules
...
drwxr-sr-x 4 theuser thegroup 4.0K Feb 6 2020 init/
...
$ ll /path/to/modules/init
...
drwxr-sr-x 2 theuser thegroup 4.0K Feb 6 2020 zsh-functions/
...
$ ll /path/to/modules/init/zsh-functions
...
-rw-r--r-- 1 theuser thegroup 12K Feb 6 2020 _module
...
2つのディレクトリするSGIDビットが設定されていますが、この警告を引き起こすSGIDビットは表示されません。また、最終パスはSGIDビットが設定されていないファイルです。
このパスは私が所有しているものではありませんが、そのパスは私が属しているグループに属しています。
重要な場合、このディレクトリは環境モジュール。
安全でないスキャンを無効にせずにこの問題を解決する方法についてのアドバイスを得ることはできますか?