日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 综合教程 >内容正文

综合教程

setfacl解释

發布時間:2023/12/2 综合教程 37 生活家
生活随笔 收集整理的這篇文章主要介紹了 setfacl解释 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

setfacl:設置文件訪問控制列表,針對單獨文件,設置單獨用戶權限
用法: setfacl -參數 用戶權限 文件
參數:-m, --modify=acl 更改文件的訪問控制列表
-M, --modify-file=file 從文件讀取訪問控制列表條目更改
-x, --remove=acl 根據文件中訪問控制列表移除條目
-X, --remove-file=file 從文件讀取訪問控制列表條目并刪除
-b, --remove-all 刪除所有擴展訪問控制列表條目
-k, --remove-default 移除默認訪問控制列表
–set=acl 設定替換當前的文件訪問控制列表
–set-file=file 從文件中讀取訪問控制列表條目設定
–mask 重新計算有效權限掩碼
-n, --no-mask 不重新計算有效權限掩碼
-d, --default 應用到默認訪問控制列表的操作
-R, --recursive 遞歸操作子目錄
-L, --logical 依照系統邏輯,跟隨符號鏈接
-P, --physical 依照自然邏輯,不跟隨符號鏈接
–restore=file 恢復訪問控制列表,和“getfacl -R”作用相反
–test 測試模式,并不真正修改訪問控制列表屬性
-v, --version 顯示版本并退出
-h, --help 顯示本幫助信
getfacl:獲得文件acl詳細信息
用法:getfacl 參數 文件
參數: -a, --access display the file access control list only
-d, --default display the default access control list only
-c, --omit-header do not display the comment header
-e, --all-effective print all effective rights
-E, --no-effective print no effective rights
-s, --skip-base skip files that only have the base entries
-R, --recursive recurse into subdirectories
-L, --logical logical walk, follow symbolic links
-P, --physical physical walk, do not follow symbolic links
-t, --tabular use tabular output format
-n, --numeric print numeric user/group identifiers
-p, --absolute-names don’t strip leading ‘/’ in pathnames
-v, --version print version and exit
-h, --help this help text

總結

以上是生活随笔為你收集整理的setfacl解释的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。