Linux change group permission to match owner permissions
Give this a try (test it first):
chmod -R g=u apps
The =
copies the permissions when you specify a field (u
, g
or o
) on the right side or sets it absolutely when you specify a permission (r
, w
or x
) on the right.