PowerScale:使用 chmod 从高级 ACL 回滚到合成权限

Zusammenfassung: 本文有助于在所需目录上使用 chmod 从高级 ACL 回滚到合成类型。

Dieser Artikel gilt für Dieser Artikel gilt nicht für Dieser Artikel ist nicht an ein bestimmtes Produkt gebunden. In diesem Artikel werden nicht alle Produktversionen aufgeführt.

Symptome

1- 群集具有应用了高级 ACL 的目录 (.ssh)。 
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 >>

Ursache

合成 ACL 必须应用于所需目录。

Lösung

- 添加“- 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
注意:对于将要进行的更改,务必征得客户的同意。

Weitere Informationen

请参阅此视频:

Betroffene Produkte

PowerScale OneFS
Artikeleigenschaften
Artikelnummer: 000199996
Artikeltyp: Solution
Zuletzt geändert: 14 Mai 2026
Version:  8
Antworten auf Ihre Fragen erhalten Sie von anderen Dell NutzerInnen
Support Services
Prüfen Sie, ob Ihr Gerät durch Support Services abgedeckt ist.