Skip to main content
Question

"Apply to enclosed items..." via script

  • February 27, 2020
  • 3 replies
  • 17 views

akamenev47
Forum|alt.badge.img+10

Sorry if there is already discussion on this, I could not find.

Is there a way to somehow re-apply "Apply to enclosed items..." via Terminal onto certain folder?

3 replies

Forum|alt.badge.img+12
  • Valued Contributor
  • February 27, 2020

-R after many commands will propagate the change downward from that directory- i.e.:

chmod -R 755 /Volumes/yourVolume/yourFolder

akamenev47
Forum|alt.badge.img+10
  • Author
  • Valued Contributor
  • February 27, 2020

@SGill, tried that, however it does not apply the same permissions to folders and files inside the "main" share folder. I did not include the /Volumes/yourVolume/ info, just applied the chmod command directly to the folder, not sure if that matters here.


Forum|alt.badge.img+12
  • Valued Contributor
  • February 27, 2020

You'll have to use a combo of both chmod and chown to get things the way you want. See this:

Permissions-Tech Republic