阿克森雲登入 / 註冊English/中文/cn繁體/tw

Permissions and Ownership

Linux First Steps · L1 · 第 3 / 6 節 · 約 8 分鍾

Permissions are a security boundary. Explain every writable directory and avoid blanket chmod 777.

stat /path/to/file
chmod 640 /path/to/file
chown root:app /path/to/file