パスワードを忘れた? アカウント作成
682639 journal

k3cの日記: ファイルパーミッション

日記 by k3c

Linux File Permission Confusion

1. If the user is the owner of the file, see if the owner read bit (400) is set. If not, tough luck. Do no other tests.

2. If the user is a member of the group that owns the file see if the group read bit (040) is set. If not, tough luck. Do no other tests.

3. If the user is not the owner of the file nor a member of the group that owns the file, see if the other read bit (004) is set. If not, tough luck. Do no other tests.

ををを…オイラ誤解してたよ!ダサ!

勉強になりました。

この議論は賞味期限が切れたので、アーカイブ化されています。 新たにコメントを付けることはできません。
typodupeerror

私は悩みをリストアップし始めたが、そのあまりの長さにいやけがさし、何も考えないことにした。-- Robert C. Pike

読み込み中...