PowerScale:使用 chmod 從進階 ACL 復原至綜合權限
摘要: 本文有助於在所需目錄上使用 chmod 從進階 ACL 復原為合成類型。
本文章適用於
本文章不適用於
本文無關於任何特定產品。
本文未識別所有產品版本。
症狀
1- 叢集有一個目錄 (.ssh),並套用進階 ACL。
2-使用 chmod 將權限變更為「700」將不會生效。
Cluster-1# ls -l total 296 -rwxr-x--- + 1 150xxx admin 10270 Mar 31 22:14 .sh_history drwxr-x--- + 2 150xxx admin 114 Mar 30 18:15 .ssh >>>"+" indicates that Advance ACLs are applied to the directory. Cluster-1# ls -led .ssh drwxr-x--- + 2 150xxx admin 114 Mar 30 18:15 .ssh OWNER: user:150xxx GROUP: group:admin CONTROL:dacl_auto_inherited,sacl_auto_inherited 0: user:150xxx allow dir_gen_read,dir_gen_write,dir_gen_execute,std_write_dac,delete_child 1: group:admin allow std_read_dac,std_synchronize,dir_read_attr 2: everyone allow std_read_dac,std_synchronize,dir_read_attr 3: group:admin allow inherited dir_gen_read,dir_gen_execute,read_write_sacl,inherited_ace 4: creator_group allow inherited dir_gen_read,dir_gen_execute,read_write_sacl,object_inherit,container_inherit,inherit_only,inherited_ace 5: user:150xxx allow inherited dir_gen_all,inherited_ace 6: creator_owner allow inherited dir_gen_all,object_inherit,container_inherit,inherit_only,inherited_ace
2-使用 chmod 將權限變更為「700」將不會生效。
#Cluster-1#chmod 700 .ssh Cluster-1# Cluster-1# ls -l total 296 -rwxr-x--- + 1 150xxx admin 10270 Mar 31 22:14 .sh_history drwxr-x--- + 2 150xxx admin 114 Mar 30 18:15 .ssh <<ADV ACL remains the same >>
原因
合成 ACL 必須套用至所需的目錄。
解析度
-添加“-b”選項會將合成許可權應用於目錄
Cluster-1# chmod -b 700 .ssh Cluster-1# Cluster-1# Cluster-1# ls -l total 296 -rwxr-x--- + 1 150xxx admin 10270 Mar 31 22:14 .sh_history drwx------ 2 150xxx admin 114 Mar 30 18:15 .ssh注意:請務必徵得客戶的同意,以瞭解將要進行的變更。
其他資訊
請參閱此影片:
受影響的產品
PowerScale OneFS文章屬性
文章編號: 000199996
文章類型: Solution
上次修改時間: 14 5月 2026
版本: 8
向其他 Dell 使用者尋求您問題的答案
支援服務
檢查您的裝置是否在支援服務的涵蓋範圍內。