title: How to get "drwx---r-x+" folder permission using CHMOD? - Bash script
body: <p>I am facing a problem when moving some files across my network and seems to be caused by file permissions. </p>
  
  <p>Currently I have folders with this permissions drwxrwxrwx. 
  I need to run a bash script that change permissions to drwx---r-x+</p>
  
  <p>ACL needs to be there.</p>
  
  <p>I don't quite understand how can I achieve the same permissions using CHMOD commands. I have tried so far:</p>
  
  <p>chmod -R ugo=rx "file"</p>
  
  <p>But this seems to change to dr-xr-xr-x, which is not enough...</p>
  
  <p>So the question is, which command should I run to achieve drwx---r-x+ ??</p>
  
  <p>Thanks in advance. </p>
  
  <p>PS. This command must run in MACOSX Maveriks so "setfacl" command will not help.</p>