linux change permissions of all files in a directory code example Example: change the permissions of a folder in linux sudo chmod -R 757 <file>