File tree Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 1- *change.txt* For Vim バージョン 9.1. Last change: 2024 May 05
1+ *change.txt* For Vim バージョン 9.1. Last change: 2024 May 18
22
33
44 VIMリファレンスマニュアル by Bram Moolenaar
@@ -602,9 +602,10 @@ Vimがフィルタコマンドを実行するときに使うシェルを指定
602602される。Unix ではこのファイルはプライベートな (自分だけがアクセスできる) ディ
603603レクトリに置かれる。セキュリティ上の問題 (symlink attack や他の人があなたのファ
604604イルを読むなど) を避けるためである。Vim が終了するとき、そのディレクトリと中に
605- あるファイルは自動的に削除される。Vim に setuid ビットが立っているとこれが問題
606- を引き起こすことがある。一時ファイルは setuid されたユーザーが所有するのに対
607- し、フィルタコマンドは元のユーザーとして動作するためである。
605+ あるファイルは自動的に削除される (Unix のみ。他のシステムでは自分で片づける必
606+ 要がある)。Vim に setuid ビットが立っているとこれが問題を引き起こすことがある。
607+ 一時ファイルは setuid されたユーザーが所有するのに対し、フィルタコマンドは元の
608+ ユーザーとして動作するためである。
608609一時ファイルのディレクトリはこれらから機能する最初のディレクトリに作成される:
609610 Unix: $TMPDIR, /tmp, current-dir, $HOME.
610611 Windows: $TMP, $TEMP, c:\TMP, c:\TEMP
Original file line number Diff line number Diff line change 1- *change.txt* For Vim version 9.1. Last change: 2024 May 05
1+ *change.txt* For Vim version 9.1. Last change: 2024 May 18
22
33
44 VIM REFERENCE MANUAL by Bram Moolenaar
@@ -623,7 +623,8 @@ Vim uses temporary files for filtering, generating diffs and also for
623623tempname(). For Unix, the file will be in a private directory (only
624624accessible by the current user) to avoid security problems (e.g., a symlink
625625attack or other people reading your file). When Vim exits the directory and
626- all files in it are deleted. When Vim has the setuid bit set this may cause
626+ all files in it are deleted (only on Unix, on other systems you will have to
627+ clean up yourself). When Vim has the setuid bit set this may cause
627628problems, the temp file is owned by the setuid user but the filter command
628629probably runs as the original user.
629630Directory for temporary files is created in the first of these directories
You can’t perform that action at this time.
0 commit comments