Hello All! Is there a command to force a re-inheritance/reset of ACLs? e.g., if i have a directory full of folders that have been created with inherited ACLs, and i want to change the ACLs on the parent folder, how can i force a reapply of all ACLs? This message posted from opensolaris.org
Rob wrote:> Hello All! > > Is there a command to force a re-inheritance/reset of ACLs? e.g., if i have a directory full of folders that have been created with inherited ACLs, and i want to change the ACLs on the parent folder, how can i force a reapply of all ACLs? > > >There isn''t an easy way to do exactly what you want. You could use a chmod in the directory and reapply the ACL to each child of the directory. # chmod A<whatever> <path>... or # chmod -R A<whatever> <path>... If you want to remove all of the ACLs then # chmod -R A- <path> P.S. If your using a build older than snv_95 then you will get errors if you attempt to set inheritance flags on files. That problem has been fixed in snv_95. -Mark
> Rob wrote: > > Hello All! > > > > Is there a command to force a re-inheritance/reset > of ACLs? e.g., if i have a directory full of folders > that have been created with inherited ACLs, and i > want to change the ACLs on the parent folder, how can > i force a reapply of all ACLs? > > > > > > > > There isn''t an easy way to do exactly what you want.That''s unfortunate :( How do I go about requesting a feature like this? This message posted from opensolaris.org
Rob wrote:>> Rob wrote: >>> Hello All! >>> >>> Is there a command to force a re-inheritance/reset >> of ACLs? e.g., if i have a directory full of folders >> that have been created with inherited ACLs, and i >> want to change the ACLs on the parent folder, how can >> i force a reapply of all ACLs? >>> >>> >>> >> There isn''t an easy way to do exactly what you want. > > That''s unfortunate :( > How do I go about requesting a feature like this? >You can open an RFE via: http://www.opensolaris.org/bug/report.jspa -Mark