作者tas72732002 (蔥頭)
看板Linux
標題[問題] 權限設定問題
時間Tue Sep 23 12:08:24 2014
想請問一下, 我建了一個新的使用者帳號developer,
想讓此新帳號僅能操作/usr/local/nginx/html/下面的檔案,
包含修改,刪除,新增, 目前/usr/local/nginx/html/下的owner是root
我要如何設定才能將developer也賦予相同的權限
麻煩~ 謝謝
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 203.69.59.91
※ 文章網址: http://www.ptt.cc/bbs/Linux/M.1411445306.A.BDD.html
→ tjjh89017: 直接把owner改成dev,不然就是把group權限打開 09/23 12:34
→ tjjh89017: 把dev加進那個group中 09/23 12:35
→ kenduest: setfacl -m u:developer:rwx -R /usr/local/nginx/html 09/23 13:47
→ kenduest: setfacl -d -m u:developer:rwx -R /usr/local/.... 09/23 13:48