阿克森云登录 / 注册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