G Gabriel9999 Member Joined Mar 12, 2019 Messages 38 Reaction score 4 Credits 130 May 15, 2019 #1 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.
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.
dos2unix Well-Known Member Joined May 3, 2019 Messages 2,638 Reaction score 2,360 Credits 20,782 May 15, 2019 #2 chmod 770 mycoolscript.sh If you want to change permissions several at once.... chmod 770 *sh
samuel tarcin New Member Joined Mar 6, 2019 Messages 24 Reaction score 11 Credits 48 May 15, 2019 #3 Best way is using find command with the -exec option where you can use chmod. $ find /my/bashfiles/ -type d -name *.c -exec chmod 770 {} \; read below: https://www.poftut.com/set-permission-folders-subfolders-linux/
Best way is using find command with the -exec option where you can use chmod. $ find /my/bashfiles/ -type d -name *.c -exec chmod 770 {} \; read below: https://www.poftut.com/set-permission-folders-subfolders-linux/