Upgrade & Secure Your Future with DevOps, SRE, DevSecOps, MLOps!

We spend hours scrolling social media and waste money on things we forget, but won’t spend 30 minutes a day earning certifications that can change our lives.
Master in DevOps, SRE, DevSecOps & MLOps by DevOpsSchool!

Learn from Guru Rajesh Kumar and double your salary in just one year.


Get Started Now!

How to change the permission of multiple files which has 655 to 755

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

0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x