How do I chmod a folder and its contents?

Nguyễn Hào

New member
How do I chmod a folder and its contents?
Answer
chmod -R 777 /www/store. The -R (or –recursive) options make it recursive.
…
Ideally, give 755 permission for security reasons to the web folder.
  1. First Number 7 — Read, write, and execute for the user.
  2. Second Number 5 — Read and execute for the group.
  3. Third Number 5 — Read and execute for others.
 

Tìm kiếm

Back
Top