File Permission of The Sh Files

Discussion in 'Linux' started by Gabriel9999, May 17, 2019.

Tags:
  1. Gabriel9999

    Gabriel9999 MDL Novice

    Mar 11, 2019
    16
    2
    0
    I have a directory where a lot of bash script or sh file exist. I want to change their permission to the 770 with the chmod command. How can I accomplish that? Thanks.
     
  2. jim_p

    jim_p MDL Junior Member

    Dec 11, 2013
    57
    20
    0
    How about running
    Code:
    chmod 770 -R folder_of_sh_files
    inside the parent folder of the one containing the sh files.