chmod 777 for specific user code example Example 1: chmod 777 chmod -R 777 directory Example 2: chmod 777 command in linux chmod -R 777 your_directory_name