pavani created the topic: how to change the permission of multiple files which has 655 to 755
Hi
How to change the permission of files which has different permission but i need to change only those files which has permission 655 to 755
rajeshkumar replied the topic: Re: how to change the permission of multiple files which has 655 to 755
Hi Pavani,
I know this is late reply.. but may or may not be helpful now...
please find script as below;
for myfile in `find . -perm 655`
do
chmod 755 $myfile
done
Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn
I’m a DevOps/SRE/DevSecOps/Cloud Expert passionate about sharing knowledge and experiences. I am working at Cotocus. I blog tech insights at DevOps School, travel stories at Holiday Landmark, stock market tips at Stocks Mantra, health and fitness guidance at My Medic Plus, product reviews at I reviewed , and SEO strategies at Wizbrand.
Please find my social handles as below;
Rajesh Kumar Personal Website
Rajesh Kumar at YOUTUBE
Rajesh Kumar at INSTAGRAM
Rajesh Kumar at X
Rajesh Kumar at FACEBOOK
Rajesh Kumar at LINKEDIN
Rajesh Kumar at PINTEREST
Rajesh Kumar at QUORA
Rajesh Kumar at WIZBRAND