chmod 777 code example
Example 1: chmod 777
chmod -R 777 directory
Example 2: chmod 777 meaning
Setting 777 permissions to a file or directory
means that it will be readable, writable and executable
by all users and may pose a huge security risk
Example 3: how to make all directory 775
find /opt/lampp/htdocs -type d -exec chmod 755 {} \;
find /opt/lampp/htdocs -type f -exec chmod 644 {} \;
Example 4: chmod 777 command in linux
chmod -R 777 your_directory_name