SyntaxFix
Write A Post
Hire A Developer
Questions
Yes.
while read in; do chmod 755 "$in"; done < file.txt
This way you can avoid a cat process.
cat
cat is almost always bad for a purpose such as this. You can read more about Useless Use of Cat.