Nhà cung cấp Tên miền, Hosting Uy Tín. Hỗ trợ 24/7

Hướng dẫn CHMOD file hoặc thư mục trên cPanel

Lượt xem: 767 Thảo Luận: 2

     Xin chào các bạn, trong bài viết này BKHOST xin giới thiệu đến bạn cách để có thể CHMOD file và thư mục trong hosting trên control panel cPanel.

     Vậy trước tiên bạn cần hiểu CHMOD là gì và CHMOD thiết lập theo quy tắc nào? CHMOD là thiết lập 3 quyền sau: đọc, chỉnh sửa và liệt kê của file hoặc thư mục.

  1. “Read” (Đọc): viết tắt là “r”, và được biểu diễn bằng số 4
  2. “Write” (Ghi / Chỉnh sửa): viết tắt là “w”, và được biểu diễn bằng số 2
  3. “Execute” (Thực thi): viết tắt là “x”, và được biểu diễn bằng số 1

     Khi thiết lập CHMOD thì bạn sẽ thiết lập quyền cho đồng thời 3 nhóm đối tượng sau:

  1. “Owner” – chủ sở hữu của file/thư mục
  2. “Group” – Nhóm mà Owner là thành viên
  3. “Public / Others/ Everybody”: những người còn lại

     Sau đây BKHOST sẽ đưa ra 1 ví dụ để bạn dễ hình dung:

     Như ở ví dụ trên, bạn sẽ hiểu như sau:

  • Nhóm User ứng với quyền có giá trị là 7=4+2+1: Người sở hữu thư mục sẽ có 3 quyền: đọc (read), chỉnh sửa (write) và liệt kê (execute).
  • Nhóm Group và World ứng với quyền có giá trị là 5=4+0+1: Người cùng nhóm và những người còn lại sẽ có 2 quyền: đọc (read) và liệt kê (execute).

     Như vậy để an toàn, BKHOST khuyến cáo bạn nên set thông số với thư mục là 755 và file là 644, tức là ngoài nhóm người sở hữu thư mục thì các nhóm khác thay vì phân toàn quyền (777 với thư mục và 666 với file) sẽ không có quyền chỉnh sửa nội dung gì, điều này giúp tránh nguy cơ website của bạn bị tấn công hoặc mất dữ liệu. Để thực hiện phân quyền CHMOD bạn thực hiện các bước sau:

     Bước 1: Đăng nhập tài khoản hosting trên cPanel và chọn mục “File Manager “như hình bên dưới.

     Bước 2: Tại giao diện này, bạn để ý cột cuối cùng sẽ là giá trị CHMOD hiện tại của file hoặc thư mục tương ứng, bạn chọn thư mục hoặc file muốn thay đổi CHMOD, click chuột phải chọn “Change Permissions”.

     Bước 3: Bạn click chọn quyền tương ứng cho từng nhóm đối tượng, sau đó click chuột vào ô “Change Permissions” như hình bên dưới.

     Như vậy là bạn đã thực hiện thành công CHMOD cho thư mục và file trên cPanel, nếu gặp khó khăn gì trong quá trình sử dụng dịch vụ, bạn vui lòng liên hệ Phòng Kỹ Thuật của BKHOST để được hỗ trợ.

     Chúc bạn thành công!

 

Tags: , ,

Bình luận

grandpashabet güncel giriş grandpashabet giriş grandpashabet grandpashabet güncel giriş grandpashabet giriş grandpashabet wbahis güncel giriş wbahis giriş wbahis wbahis wbahis güncel giriş wbahis giriş wbahis wbahis robinbet güncel giriş robinbet giriş robinbet robinbet robinbet güncel giriş robinbet giriş robinbet robinbet robinbet güncel giriş robinbet giriş robinbet robinbet timebet güncel giriş timebet giriş timebet timebet betsilin güncel giriş betsilin giriş betsilin betsilin betsilin güncel giriş betsilin giriş betsilin betsilin avrupabet güncel giriş avrupabet giriş avrupabet avrupabet avrupabet güncel giriş avrupabet giriş avrupabet avrupabet betpas güncel giriş betpas giriş betpas betpas betpas güncel giriş betpas giriş betpas betpas casinoroys güncel giriş casinoroys giriş casinoroys casinoroys casinoroys güncel giriş casinoroys giriş casinoroys casinoroys parmabet güncel giriş parmabet giriş parmabet parmabet parmabet güncel giriş parmabet giriş parmabet parmabet süratbet güncel giriş süratbet giriş süratbet süratbet süratbet güncel giriş süratbet giriş süratbet süratbet galyabet güncel giriş galyabet giriş galyabet galyabet galyabet güncel giriş galyabet giriş galyabet galyabet betwoon güncel giriş betwoon giriş betwoon betwoon betwoon güncel giriş betwoon giriş betwoon betwoon norabahis güncel giriş norabahis giriş norabahis norabahis norabahis güncel giriş norabahis giriş norabahis norabahis timebet güncel giriş timebet giriş timebet timebet timebet güncel giriş timebet giriş timebet timebet robinbet güncel giriş robinbet giriş robinbet robinbet robinbet güncel giriş robinbet giriş robinbet robinbet jojobet güncel giriş jojobet giriş jojobet cratosroyalbet güncel giriş cratosroyalbet giriş cratosroyalbet cratosroyalbet betcio güncel giriş betcio giriş betcio betcio güncel giriş betcio giriş betcio cratosroyalbet güncel giriş cratosroyalbet giriş cratosroyalbet cratosroyalbet cratosroyalbet güncel giriş cratosroyalbet giriş cratosroyalbet cratosroyalbet cratosroyalbet güncel giriş cratosroyalbet giriş cratosroyalbet cratosroyalbet cratosroyalbet güncel giriş cratosroyalbet giriş cratosroyalbet cratosroyalbet cratosroyalbet güncel giriş cratosroyalbet giriş cratosroyalbet cratosroyalbet bahislion güncel giriş bahislion giriş bahislion jojobet güncel giriş jojobet giriş jojobet jojobet güncel giriş jojobet giriş jojobet betcio güncel giriş betcio giriş betcio betcio güncel giriş betcio giriş betcio cratosroyalbet güncel giriş cratosroyalbet giriş cratosroyalbet cratosroyalbet cratosroyalbet güncel giriş cratosroyalbet giriş cratosroyalbet cratosroyalbet cratosroyalbet güncel giriş cratosroyalbet giriş cratosroyalbet cratosroyalbet cratosroyalbet güncel giriş cratosroyalbet giriş cratosroyalbet cratosroyalbet cratosroyalbet güncel giriş cratosroyalbet giriş cratosroyalbet cratosroyalbet cratosroyalbet güncel giriş cratosroyalbet giriş cratosroyalbet cratosroyalbet cratosroyalbet güncel giriş cratosroyalbet giriş cratosroyalbet cratosroyalbet cratosroyalbet güncel giriş cratosroyalbet giriş cratosroyalbet cratosroyalbet cratosroyalbet güncel giriş cratosroyalbet giriş cratosroyalbet cratosroyalbet grandpashabet güncel giriş grandpashabet giriş grandpashabet casibom güncel giriş casibom giriş casibom