how to set permission 777 on file in centos code example Example: chmod 777 command in linux chmod -R 777 your_directory_name