Setfacl : Operation not supported

使用Centos 6.5系統的setfacl給用戶或組設置權限時報Operation not supported


原因:/data/ftp爲硬盤的一個分區,在fstab做了defaults掛載,但是沒有加acl規則,當設定acl命令爲:setfacl -m g:ftp:rwx /data/ftp的時候提示setfacl: /data/ftp:Operation not supported 


解決方法:重新修改/etc/fstab文件,加入acl選項

/dev/xvdb1             /data/ftp                ext4    defaults,acl    0 0


最後:mount -o remount /mnt/bak 重新掛載。


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章