{"id":52268,"date":"2024-12-03T16:13:56","date_gmt":"2024-12-03T08:13:56","guid":{"rendered":"https:\/\/fwq.ai\/blog\/52268\/"},"modified":"2024-12-03T16:13:56","modified_gmt":"2024-12-03T08:13:56","slug":"linux-acl%e7%9a%84%e4%bd%9c%e7%94%a8%e6%98%af%e4%bb%80%e4%b9%88","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/52268\/","title":{"rendered":"linux ACL\u7684\u4f5c\u7528\u662f\u4ec0\u4e48"},"content":{"rendered":"<p><b><\/b>     <\/p>\n<h1>linux ACL\u7684\u4f5c\u7528\u662f\u4ec0\u4e48<\/h1>\n<p>\u5728IT\u884c\u4e1a\u8fd9\u4e2a\u53d1\u5c55\u66f4\u65b0\u901f\u5ea6\u5f88\u5feb\u7684\u884c\u4e1a\uff0c\u53ea\u6709\u4e0d\u505c\u6b62\u7684\u5b66\u4e60\uff0c\u624d\u4e0d\u4f1a\u88ab\u884c\u4e1a\u6240\u6dd8\u6c70\u3002\u5982\u679c\u4f60\u662f\u6587\u7ae0\u5b66\u4e60\u8005\uff0c\u90a3\u4e48\u672c\u6587\u300alinux ACL\u7684\u4f5c\u7528\u662f\u4ec0\u4e48\u300b\u5c31\u5f88\u9002\u5408\u4f60\uff01\u672c\u7bc7\u5185\u5bb9\u4e3b\u8981\u5305\u62ec##content_title##\uff0c\u5e0c\u671b\u5bf9\u5927\u5bb6\u7684\u77e5\u8bc6\u79ef\u7d2f\u6709\u6240\u5e2e\u52a9\uff0c\u52a9\u529b\u5b9e\u6218\u5f00\u53d1\uff01<\/p>\n<\/p>\n<blockquote>\n<p>ACL\u662f\u6307\u8bbf\u95ee\u63a7\u5236\u5217\u8868\uff0c\u662f\u6307\u4e00\u4e2a\u9488\u5bf9\u6587\u4ef6\/\u76ee\u5f55\u7684\u8bbf\u95ee\u63a7\u5236\u5217\u8868\uff0cACL\u7528\u4e8e\u8bbe\u5b9a\u7528\u6237\u9488\u5bf9\u6587\u4ef6\u7684\u6743\u9650\u3002ACL\u7684\u4f5c\u7528\uff1a1\u3001\u53ef\u4ee5\u9488\u5bf9\u7528\u6237\u6765\u8bbe\u7f6e\u6743\u9650\uff1b2\u3001\u53ef\u4ee5\u9488\u5bf9\u7528\u6237\u7ec4\u6765\u8bbe\u7f6e\u6743\u9650\uff1b3\u3001\u5b50\u6587\u4ef6\/\u76ee\u5f55\u7ee7\u627f\u7236\u76ee\u5f55\u7684\u6743\u9650\u3002<\/p>\n<\/blockquote>\n<p><strong>ACL \u662f\u4ec0\u4e48<\/strong><\/p>\n<p>ACL\u7684\u5168\u79f0\u662f Access Control List (\u8bbf\u95ee\u63a7\u5236\u5217\u8868) \uff0c\u4e00\u4e2a\u9488\u5bf9\u6587\u4ef6\/\u76ee\u5f55\u7684\u8bbf\u95ee\u63a7\u5236\u5217\u8868\u3002\u5b83\u5728UGO\u6743\u9650\u7ba1\u7406\u7684\u57fa\u7840\u4e0a\u4e3a\u6587\u4ef6\u7cfb\u7edf\u63d0\u4f9b\u4e00\u4e2a\u989d\u5916\u7684\u3001\u66f4\u7075\u6d3b\u7684\u6743\u9650\u7ba1\u7406\u673a\u5236\u3002\u5b83\u88ab\u8bbe\u8ba1\u4e3aUNIX\u6587\u4ef6\u6743\u9650\u7ba1\u7406\u7684\u4e00\u4e2a\u8865\u5145\u3002<\/p>\n<p>ACL\u5141\u8bb8\u4f60\u7ed9\u4efb\u4f55\u7684\u7528\u6237\u6216\u7528\u6237\u7ec4\u8bbe\u7f6e\u4efb\u4f55\u6587\u4ef6\/\u76ee\u5f55\u7684\u8bbf\u95ee\u6743\u9650\u3002<\/p>\n<p>\u5728 Linux \u7cfb\u7edf\u4e2d\uff0c ACL \u53ef\u5b9e\u73b0\u5bf9\u5355\u4e00\u7528\u6237\u8bbe\u5b9a\u8bbf\u95ee\u6587\u4ef6\u7684\u6743\u9650\u3002\u4e5f\u53ef\u4ee5\u8fd9\u4e48\u8bf4\uff0c\u8bbe\u5b9a\u6587\u4ef6\u7684\u8bbf\u95ee\u6743\u9650\uff0c\u9664\u4e86\u7528\u4f20\u7edf\u65b9\u5f0f\uff083 \u79cd\u8eab\u4efd\u642d\u914d 3 \u79cd\u6743\u9650\uff09\uff0c\u8fd8\u53ef\u4ee5\u4f7f\u7528 ACL \u8fdb\u884c\u8bbe\u5b9a\u3002<\/p>\n<p><strong>ACL\u6709\u4ec0\u4e48\u7528<\/strong><\/p>\n<p>\u65e2\u7136\u662f\u4f5c\u4e3aUGO\u6743\u9650\u7ba1\u7406\u7684\u8865\u5145\uff0cACL\u81ea\u7136\u8981\u6709UGO\u529e\u4e0d\u5230\u6216\u8005\u5f88\u96be\u529e\u5230\u7684\u672c\u4e8b\uff0c\u4f8b\u5982\uff1a<\/p>\n<ul>\n<li>\n<p>\u53ef\u4ee5\u9488\u5bf9\u7528\u6237\u6765\u8bbe\u7f6e\u6743\u9650<\/p>\n<\/li>\n<li>\n<p>\u53ef\u4ee5\u9488\u5bf9\u7528\u6237\u7ec4\u6765\u8bbe\u7f6e\u6743\u9650<\/p>\n<\/li>\n<li>\n<p>\u5b50\u6587\u4ef6\/\u76ee\u5f55\u7ee7\u627f\u7236\u76ee\u5f55\u7684\u6743\u9650<\/p>\n<\/li>\n<\/ul>\n<p><strong>\u68c0\u67e5\u662f\u5426\u652f\u6301ACL<\/strong><\/p>\n<p>ACL\u9700\u8981Linux\u5185\u6838\u548c\u6587\u4ef6\u7cfb\u7edf\u7684\u914d\u5408\u624d\u80fd\u5de5\u4f5c\uff0c\u5f53\u524d\u6211\u4eec\u80fd\u89c1\u5230\u7684\u5927\u591a\u6570Linux\u53d1\u884c\u7248\u672c\u9ed8\u8ba4\u90fd\u662f\u652f\u6301\u7684\u3002\u4f46\u6700\u597d\u8fd8\u662f\u80fd\u591f\u5148\u68c0\u67e5\u4e00\u4e0b\uff1a<\/p>\n<pre>sudo&nbsp;tune2fs&nbsp;-l&nbsp;\/dev\/sda1&nbsp;|grep&nbsp;\u201cDefault&nbsp;mount&nbsp;options:\u201d\nDefault&nbsp;mount&nbsp;options:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;user_xattr&nbsp;&nbsp;&nbsp;&nbsp;acl<\/pre>\n<p>\u6211\u4eec\u80fd\u591f\u770b\u5230\u9ed8\u8ba4\u60c5\u51b5\u4e0b(Default mount options:)\u5df2\u7ecf\u52a0\u5165 acl \u652f\u6301\u4e86\u3002<\/p>\n<p><strong>ACL\u9488\u5bf9\u666e\u901a\u6587\u4ef6\u7684\u8bbe\u7f6e\uff1a<\/strong><\/p>\n<h4>setfacl\u547d\u4ee4\uff08set\u8bbe\u7f6e\uff0cf\u6587\u4ef6file\uff0cacl\u8bbf\u95ee\u63a7\u5236\u5217\u8868\uff09<br \/><\/h4>\n<p><strong>\u6dfb\u52a0\u6587\u4ef6\u7684ACL<\/strong><\/p>\n<pre>setfacl&nbsp;-m&nbsp;u:zx:---&nbsp;1243.txt&nbsp;(zx\u7528\u6237\u5bf91243.txt\u6587\u4ef6\u6ca1\u6709\u4efb\u4f55\u6743\u9650)\nsetfacl&nbsp;-m&nbsp;g:zx:---&nbsp;1243.txt&nbsp;(zx\u7ec4\u5bf91243.txt\u6587\u4ef6\u6ca1\u6709\u4efb\u4f55\u6743\u9650)<\/pre>\n<p>-m\u53c2\u6570\u8868\u793amodify\u4fee\u6539\uff0cu\u8868\u793a\u9488\u5bf9user\u7528\u6237\u8bbe\u7f6e\uff0czx\u7528\u6237\u540d\u79f0\uff0c&#8212;\u8868\u793a\u8bbe\u7f6e\u7684\u6743\u9650\u4fe1\u606f<\/p>\n<p><strong>\u67e5\u770b\u6587\u4ef6\u7684ACL\u6743\u9650<\/strong><\/p>\n<pre>getfacl&nbsp;1243.txt&nbsp;&nbsp;(\u67e5\u770b\u6587\u4ef6\u7684ACL\u6743\u9650\u4fe1\u606f)<\/pre>\n<p><img decoding=\"async\" src=\"https:\/\/www.17golang.com\/uploads\/20240419\/171353271166226f2723a9f.jpg\" class=\"aligncenter\" title=\"linux ACL\u7684\u4f5c\u7528\u662f\u4ec0\u4e48\u63d2\u56fe\" alt=\"linux ACL\u7684\u4f5c\u7528\u662f\u4ec0\u4e48\u63d2\u56fe\" \/><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.17golang.com\/uploads\/20240419\/171353271166226f272788b.jpg\" class=\"aligncenter\" title=\"linux ACL\u7684\u4f5c\u7528\u662f\u4ec0\u4e48\u63d2\u56fe1\" alt=\"linux ACL\u7684\u4f5c\u7528\u662f\u4ec0\u4e48\u63d2\u56fe1\" \/><\/p>\n<p><strong>\u5220\u9664\u6587\u4ef6\u7684ACL\u6743\u9650<\/strong><\/p>\n<pre>setfacl&nbsp;-x&nbsp;u:zx&nbsp;&nbsp;1243.txt<\/pre>\n<p>\u5728\u8bbe\u7f6e\u4e86ACL\u6743\u9650\u540e\uff0c\u901a\u8fc7\u67e5\u770b\u6587\u4ef6\u4fe1\u606f\u53ef\u4ee5\u770b\u5230\u6587\u4ef6\u6743\u9650\u4fe1\u606f\u5217\u6709\u4e2a\u201c+\u201d\u53f7<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.17golang.com\/uploads\/20240419\/171353271166226f272b535.jpg\" class=\"aligncenter\" title=\"linux ACL\u7684\u4f5c\u7528\u662f\u4ec0\u4e48\u63d2\u56fe2\" alt=\"linux ACL\u7684\u4f5c\u7528\u662f\u4ec0\u4e48\u63d2\u56fe2\" \/><\/p>\n<p><strong> \u79fb\u9664\u6587\u4ef6\u7684ACL\u6743\u9650\u4fe1\u606f\uff1a<\/strong><\/p>\n<p><code>setfacl -b 1243.txt<\/code> &nbsp;(\u79fb\u96641342.txt\u7684ACL\u6743\u9650\u4fe1\u606f)<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.17golang.com\/uploads\/20240419\/171353271166226f272e425.jpg\" class=\"aligncenter\" title=\"linux ACL\u7684\u4f5c\u7528\u662f\u4ec0\u4e48\u63d2\u56fe3\" alt=\"linux ACL\u7684\u4f5c\u7528\u662f\u4ec0\u4e48\u63d2\u56fe3\" \/><\/p>\n<p><strong>ACL\u9488\u5bf9\u76ee\u5f55\u6587\u4ef6\u7684\u8bbe\u7f6e<\/strong><\/p>\n<p>\u5bf9\u76ee\u5f55\u6587\u4ef6\u8bbe\u7f6eACL\uff0c\u662f\u4e3a\u4e86\u5bf9\u76ee\u5f55\u6587\u4ef6\u91cc\u9762\uff0c\u521b\u5efa\u7684\u6587\u4ef6\u8fdb\u884c\u6743\u9650\u63a7\u5236.<\/p>\n<p>mask:\u8868\u793a\u7528\u6237\u7684\u6700\u5927\u6743\u9650\u8303\u56f4<\/p>\n<pre>setfacl&nbsp;-m&nbsp;d:u:zx:r--&nbsp;123<\/pre>\n<p>d:default(\u8bbe\u5b9a\u9ed8\u8ba4)<\/p>\n<p>\u7528root\u5728\u6839\u76ee\u5f55\u4e0b\u521b\u5efa123\/bbb\u76ee\u5f55\u6587\u4ef6\u5e76\u8bbe\u7f6e\u7528\u6237zx\u6709\u8bfb\u884c\u6743\u9650\uff1a<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.17golang.com\/uploads\/20240419\/171353271166226f272f89e.jpg\" class=\"aligncenter\" title=\"linux ACL\u7684\u4f5c\u7528\u662f\u4ec0\u4e48\u63d2\u56fe4\" alt=\"linux ACL\u7684\u4f5c\u7528\u662f\u4ec0\u4e48\u63d2\u56fe4\" \/><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.17golang.com\/uploads\/20240419\/171353271166226f2733f2f.jpg\" class=\"aligncenter\" title=\"linux ACL\u7684\u4f5c\u7528\u662f\u4ec0\u4e48\u63d2\u56fe5\" alt=\"linux ACL\u7684\u4f5c\u7528\u662f\u4ec0\u4e48\u63d2\u56fe5\" \/><\/p>\n<p>\u53ef\u4ee5\u770b\u5230\u540e\u7eed\u7684\u65b0\u5efa123\u6587\u4ef6\u90fd\u7ee7\u627f\u4e86\u4e4b\u524d\u7684bbbACL\u6743\u9650\u8bbe\u7f6ezx\u53ea\u6709\u8bfb\u6743\u9650<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.17golang.com\/uploads\/20240419\/171353271166226f2737307.jpg\" class=\"aligncenter\" title=\"linux ACL\u7684\u4f5c\u7528\u662f\u4ec0\u4e48\u63d2\u56fe6\" alt=\"linux ACL\u7684\u4f5c\u7528\u662f\u4ec0\u4e48\u63d2\u56fe6\" \/><\/p>\n<p>\u4ee5\u4e0a\u5c31\u662f\u672c\u6587\u7684\u5168\u90e8\u5185\u5bb9\u4e86\uff0c\u662f\u5426\u6709\u987a\u5229\u5e2e\u52a9\u4f60\u89e3\u51b3\u95ee\u9898\uff1f\u82e5\u662f\u80fd\u7ed9\u4f60\u5e26\u6765\u5b66\u4e60\u4e0a\u7684\u5e2e\u52a9\uff0c\u8bf7\u5927\u5bb6\u591a\u591a\u652f\u6301\u7c73\u4e91\uff01\u66f4\u591a\u5173\u4e8e\u6587\u7ae0\u7684\u76f8\u5173\u77e5\u8bc6\uff0c\u4e5f\u53ef\u5173\u6ce8\u7c73\u4e91\u516c\u4f17\u53f7\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>linux ACL\u7684\u4f5c\u7528\u662f\u4ec0\u4e48 \u5728IT\u884c\u4e1a\u8fd9\u4e2a\u53d1\u5c55\u66f4\u65b0\u901f\u5ea6\u5f88\u5feb\u7684\u884c\u4e1a\uff0c\u53ea\u6709\u4e0d\u505c\u6b62\u7684\u5b66\u4e60\uff0c\u624d\u4e0d\u4f1a\u88ab\u884c\u4e1a\u6240\u6dd8\u6c70\u3002\u5982\u679c\u4f60\u662f\u6587\u7ae0\u5b66\u4e60\u8005\uff0c\u90a3\u4e48\u672c\u6587\u300alinux ACL\u7684\u4f5c\u7528\u662f\u4ec0\u4e48\u300b\u5c31\u5f88\u9002\u5408\u4f60\uff01\u672c\u7bc7\u5185\u5bb9\u4e3b\u8981\u5305\u62ec##content_title##\uff0c\u5e0c\u671b\u5bf9\u5927\u5bb6\u7684\u77e5\u8bc6\u79ef\u7d2f\u6709\u6240\u5e2e\u52a9\uff0c\u52a9\u529b\u5b9e\u6218\u5f00\u53d1\uff01 ACL\u662f\u6307\u8bbf\u95ee\u63a7\u5236\u5217\u8868\uff0c\u662f\u6307\u4e00\u4e2a\u9488\u5bf9\u6587\u4ef6\/\u76ee\u5f55\u7684\u8bbf\u95ee\u63a7\u5236\u5217\u8868\uff0cACL\u7528\u4e8e\u8bbe\u5b9a\u7528\u6237\u9488\u5bf9\u6587\u4ef6\u7684\u6743\u9650\u3002ACL\u7684\u4f5c\u7528\uff1a1\u3001\u53ef\u4ee5\u9488\u5bf9\u7528\u6237\u6765\u8bbe\u7f6e\u6743\u9650\uff1b2\u3001\u53ef\u4ee5\u9488\u5bf9\u7528\u6237\u7ec4\u6765\u8bbe\u7f6e\u6743\u9650\uff1b3\u3001\u5b50\u6587\u4ef6\/\u76ee\u5f55\u7ee7\u627f\u7236\u76ee\u5f55\u7684\u6743\u9650\u3002 ACL \u662f\u4ec0\u4e48 ACL\u7684\u5168\u79f0\u662f Access Control List (\u8bbf\u95ee\u63a7\u5236\u5217\u8868) \uff0c\u4e00\u4e2a\u9488\u5bf9\u6587\u4ef6\/\u76ee\u5f55\u7684\u8bbf\u95ee\u63a7\u5236\u5217\u8868\u3002\u5b83\u5728UGO\u6743\u9650\u7ba1\u7406\u7684\u57fa\u7840\u4e0a\u4e3a\u6587\u4ef6\u7cfb\u7edf\u63d0\u4f9b\u4e00\u4e2a\u989d\u5916\u7684\u3001\u66f4\u7075\u6d3b\u7684\u6743\u9650\u7ba1\u7406\u673a\u5236\u3002\u5b83\u88ab\u8bbe\u8ba1\u4e3aUNIX\u6587\u4ef6\u6743\u9650\u7ba1\u7406\u7684\u4e00\u4e2a\u8865\u5145\u3002 ACL\u5141\u8bb8\u4f60\u7ed9\u4efb\u4f55\u7684\u7528\u6237\u6216\u7528\u6237\u7ec4\u8bbe\u7f6e\u4efb\u4f55\u6587\u4ef6\/\u76ee\u5f55\u7684\u8bbf\u95ee\u6743\u9650\u3002 \u5728 Linux \u7cfb\u7edf\u4e2d\uff0c ACL \u53ef\u5b9e\u73b0\u5bf9\u5355\u4e00\u7528\u6237\u8bbe\u5b9a\u8bbf\u95ee\u6587\u4ef6\u7684\u6743\u9650\u3002\u4e5f\u53ef\u4ee5\u8fd9\u4e48\u8bf4\uff0c\u8bbe\u5b9a\u6587\u4ef6\u7684\u8bbf\u95ee\u6743\u9650\uff0c\u9664\u4e86\u7528\u4f20\u7edf\u65b9\u5f0f\uff083 \u79cd\u8eab\u4efd\u642d\u914d 3 \u79cd\u6743\u9650\uff09\uff0c\u8fd8\u53ef\u4ee5\u4f7f\u7528 ACL \u8fdb\u884c\u8bbe\u5b9a\u3002 ACL\u6709\u4ec0\u4e48\u7528 \u65e2\u7136\u662f\u4f5c\u4e3aUGO\u6743\u9650\u7ba1\u7406\u7684\u8865\u5145\uff0cACL\u81ea\u7136\u8981\u6709UGO\u529e\u4e0d\u5230\u6216\u8005\u5f88\u96be\u529e\u5230\u7684\u672c\u4e8b\uff0c\u4f8b\u5982\uff1a \u53ef\u4ee5\u9488\u5bf9\u7528\u6237\u6765\u8bbe\u7f6e\u6743\u9650 \u53ef\u4ee5\u9488\u5bf9\u7528\u6237\u7ec4\u6765\u8bbe\u7f6e\u6743\u9650 \u5b50\u6587\u4ef6\/\u76ee\u5f55\u7ee7\u627f\u7236\u76ee\u5f55\u7684\u6743\u9650 \u68c0\u67e5\u662f\u5426\u652f\u6301ACL ACL\u9700\u8981Linux\u5185\u6838\u548c\u6587\u4ef6\u7cfb\u7edf\u7684\u914d\u5408\u624d\u80fd\u5de5\u4f5c\uff0c\u5f53\u524d\u6211\u4eec\u80fd\u89c1\u5230\u7684\u5927\u591a\u6570Linux\u53d1\u884c\u7248\u672c\u9ed8\u8ba4\u90fd\u662f\u652f\u6301\u7684\u3002\u4f46\u6700\u597d\u8fd8\u662f\u80fd\u591f\u5148\u68c0\u67e5\u4e00\u4e0b\uff1a sudo&nbsp;tune2fs&nbsp;-l&nbsp;\/dev\/sda1&nbsp;|grep&nbsp;\u201cDefault&nbsp;mount&nbsp;options:\u201d Default&nbsp;mount&nbsp;options:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;user_xattr&nbsp;&nbsp;&nbsp;&nbsp;acl \u6211\u4eec\u80fd\u591f\u770b\u5230\u9ed8\u8ba4\u60c5\u51b5\u4e0b(Default mount options:)\u5df2\u7ecf\u52a0\u5165 acl \u652f\u6301\u4e86\u3002 ACL\u9488\u5bf9\u666e\u901a\u6587\u4ef6\u7684\u8bbe\u7f6e\uff1a setfacl\u547d\u4ee4\uff08set\u8bbe\u7f6e\uff0cf\u6587\u4ef6file\uff0cacl\u8bbf\u95ee\u63a7\u5236\u5217\u8868\uff09 \u6dfb\u52a0\u6587\u4ef6\u7684ACL setfacl&nbsp;-m&nbsp;u:zx:&#8212;&nbsp;1243.txt&nbsp;(zx\u7528\u6237\u5bf91243.txt\u6587\u4ef6\u6ca1\u6709\u4efb\u4f55\u6743\u9650) setfacl&nbsp;-m&nbsp;g:zx:&#8212;&nbsp;1243.txt&nbsp;(zx\u7ec4\u5bf91243.txt\u6587\u4ef6\u6ca1\u6709\u4efb\u4f55\u6743\u9650) -m\u53c2\u6570\u8868\u793amodify\u4fee\u6539\uff0cu\u8868\u793a\u9488\u5bf9user\u7528\u6237\u8bbe\u7f6e\uff0czx\u7528\u6237\u540d\u79f0\uff0c&#8212;\u8868\u793a\u8bbe\u7f6e\u7684\u6743\u9650\u4fe1\u606f \u67e5\u770b\u6587\u4ef6\u7684ACL\u6743\u9650 getfacl&nbsp;1243.txt&nbsp;&nbsp;(\u67e5\u770b\u6587\u4ef6\u7684ACL\u6743\u9650\u4fe1\u606f) \u5220\u9664\u6587\u4ef6\u7684ACL\u6743\u9650 setfacl&nbsp;-x&nbsp;u:zx&nbsp;&nbsp;1243.txt \u5728\u8bbe\u7f6e\u4e86ACL\u6743\u9650\u540e\uff0c\u901a\u8fc7\u67e5\u770b\u6587\u4ef6\u4fe1\u606f\u53ef\u4ee5\u770b\u5230\u6587\u4ef6\u6743\u9650\u4fe1\u606f\u5217\u6709\u4e2a\u201c+\u201d\u53f7 \u79fb\u9664\u6587\u4ef6\u7684ACL\u6743\u9650\u4fe1\u606f\uff1a setfacl -b 1243.txt &nbsp;(\u79fb\u96641342.txt\u7684ACL\u6743\u9650\u4fe1\u606f) ACL\u9488\u5bf9\u76ee\u5f55\u6587\u4ef6\u7684\u8bbe\u7f6e [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-52268","post","type-post","status-publish","format-standard","hentry","category-os"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/52268","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/comments?post=52268"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/52268\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=52268"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=52268"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=52268"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}