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
2
2
3
3
4
4
VIMリファレンスマニュアル by Bram Moolenaar
@@ -602,9 +602,10 @@ Vimがフィルタコマンドを実行するときに使うシェルを指定
602
602
される。Unix ではこのファイルはプライベートな (自分だけがアクセスできる) ディ
603
603
レクトリに置かれる。セキュリティ上の問題 (symlink attack や他の人があなたのファ
604
604
イルを読むなど) を避けるためである。Vim が終了するとき、そのディレクトリと中に
605
- あるファイルは自動的に削除される。Vim に setuid ビットが立っているとこれが問題
606
- を引き起こすことがある。一時ファイルは setuid されたユーザーが所有するのに対
607
- し、フィルタコマンドは元のユーザーとして動作するためである。
605
+ あるファイルは自動的に削除される (Unix のみ。他のシステムでは自分で片づける必
606
+ 要がある)。Vim に setuid ビットが立っているとこれが問題を引き起こすことがある。
607
+ 一時ファイルは setuid されたユーザーが所有するのに対し、フィルタコマンドは元の
608
+ ユーザーとして動作するためである。
608
609
一時ファイルのディレクトリはこれらから機能する最初のディレクトリに作成される:
609
610
Unix: $TMPDIR, /tmp, current-dir, $HOME.
610
611
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
2
2
3
3
4
4
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -623,7 +623,8 @@ Vim uses temporary files for filtering, generating diffs and also for
623
623
tempname(). For Unix, the file will be in a private directory (only
624
624
accessible by the current user) to avoid security problems (e.g., a symlink
625
625
attack 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
627
628
problems, the temp file is owned by the setuid user but the filter command
628
629
probably runs as the original user.
629
630
Directory for temporary files is created in the first of these directories
You can’t perform that action at this time.
0 commit comments