Change a folder or directory permission in Linux Nginx server by Putty

Below Linux command run for set all permission recursively for all files and folder contain in folder.

 

sudo chmod -R 777 /var/www/wordpress/plugins/

above command run in putty with using Linux.

 

Check current permission set for all files and folders in current directory.

sudo ls -1 /var/www/wordpress/plugins

check current permission of a file

ls -l