| 総合手引 | セクション 1 | English | オプション |
オプションは以下のとおりです。
| | |
|
| |
| | |
|
| |
| | |
|
| |
| | |
| 指定されたファイル自身ではなく、 そのファイル以下のディレクトリ階層すべての フラグを変更します。 | |
フラグは、8 進数か、キーワードをコンマで区切ったものです。 現在定義されているキーワードは以下のとおりです:
| arch , archived | archived フラグをセットします (スーパユーザのみ) |
| opaque | opaque フラグをセットします (所有者かスーパユーザのみ) |
| nodump | nodump フラグをセットします (所有者かスーパユーザのみ) |
| sappnd , sappend | system append-only (システムレベルでの追加専用) フラグをセットします (スーパユーザのみ) |
| schg , schange , simmutable | system immutable (システムレベルでの変更不可) フラグをセットします (スーパユーザのみ) |
| sunlnk , sunlink | system undeletable (システムレベルでの削除不可) フラグをセットします (スーパユーザのみ) |
| uappnd , uappend | user append-only (ユーザレベルでの追加専用) フラグをセットします (所有者またはスーパユーザのみ) |
| uchg , uchange , uimmutable | user immutable (ユーザレベルでの変更不可) フラグをセットします (所有者またはスーパユーザのみ) |
| uunlnk , uunlink | user undeletable (ユーザレベルでの削除不可) フラグをセットします (所有者またはスーパユーザのみ) |
オプションキーワードの前に "no" を付けたりキーワードから "no" を削ると、そのフラグを無効にします。 例:
| nouchg | ユーザの immutable ビットをクリア (所有者またはスーパユーザのみ) |
| dump | nodump フラグをクリア (所有者またはスーパユーザのみ) |
シンボリックリンクにはフラグはありません。
よって、
ファイルのフラグを見るには "ls -lo" とします。
| CHFLAGS (1) | February 24, 2005 |
| 総合手引 | セクション 1 | English | オプション |
このマニュアルページサービスについてのご意見は Ben Bullock にお知らせください。 Privacy policy.
| “ | "I liken starting one's computing career with Unix, say as an undergraduate, to being born in East Africa. It is intolerably hot, your body is covered with lice and flies, you are malnourished and you suffer from numerous curable diseases. But, as far as young East Africans can tell, this is simply the natural condition and they live within it. By the time they find out differently, it is too late. They already think that the writing of shell scripts is a natural act." | ” |
| — Ken Pier, Xerox PARC | ||