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

歡迎訪問(wèn) 生活随笔!

生活随笔

當(dāng)前位置: 首頁(yè) > 编程资源 > 综合教程 >内容正文

综合教程

setfacl解释

發(fā)布時(shí)間:2023/12/2 综合教程 43 生活家
生活随笔 收集整理的這篇文章主要介紹了 setfacl解释 小編覺(jué)得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.

setfacl:設(shè)置文件訪問(wèn)控制列表,針對(duì)單獨(dú)文件,設(shè)置單獨(dú)用戶權(quán)限
用法: setfacl -參數(shù) 用戶權(quán)限 文件
參數(shù):-m, --modify=acl 更改文件的訪問(wèn)控制列表
-M, --modify-file=file 從文件讀取訪問(wèn)控制列表?xiàng)l目更改
-x, --remove=acl 根據(jù)文件中訪問(wèn)控制列表移除條目
-X, --remove-file=file 從文件讀取訪問(wèn)控制列表?xiàng)l目并刪除
-b, --remove-all 刪除所有擴(kuò)展訪問(wèn)控制列表?xiàng)l目
-k, --remove-default 移除默認(rèn)訪問(wèn)控制列表
–set=acl 設(shè)定替換當(dāng)前的文件訪問(wèn)控制列表
–set-file=file 從文件中讀取訪問(wèn)控制列表?xiàng)l目設(shè)定
–mask 重新計(jì)算有效權(quán)限掩碼
-n, --no-mask 不重新計(jì)算有效權(quán)限掩碼
-d, --default 應(yīng)用到默認(rèn)訪問(wèn)控制列表的操作
-R, --recursive 遞歸操作子目錄
-L, --logical 依照系統(tǒng)邏輯,跟隨符號(hào)鏈接
-P, --physical 依照自然邏輯,不跟隨符號(hào)鏈接
–restore=file 恢復(fù)訪問(wèn)控制列表,和“getfacl -R”作用相反
–test 測(cè)試模式,并不真正修改訪問(wèn)控制列表屬性
-v, --version 顯示版本并退出
-h, --help 顯示本幫助信
getfacl:獲得文件acl詳細(xì)信息
用法:getfacl 參數(shù) 文件
參數(shù): -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

總結(jié)

以上是生活随笔為你收集整理的setfacl解释的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。

如果覺(jué)得生活随笔網(wǎng)站內(nèi)容還不錯(cuò),歡迎將生活随笔推薦給好友。