# --------------------------بسم الله الرحمن الرحیم -------------------------- # # Set Permissions Of Files and Folders # ## Below gives all permissions to everybody to all files and subdirectories:## $ sudo chmod -R a+rwx path > path like: /home/www/ * for example folder home ... ## write mode : ## $ sudo chmod 0777 path ## read mode : ## $ sudo chmod 0750 path * The surprising permissions that are diagnosed by this mode are: > 111 => --xr-xrwx 400 => rw--w---- 440 => rw-rwx--- 444 => rw-rwxr-- 551 => ---r--rwt 600 => --x-wx--T 640 => -w------T 644 => -w----r-T 660 => -w--w-r-T 664 => -w--wx--T 666 => -w--wx-wT 700 => -w-rwxr-T 711 => -wx---rwt 750 => -wxr-xrwT 751 => -wxr-xrwt 751 => -wxr-xrwt 755 => -wxrw--wt 770 => r------wT 771 => r------wt 775 => r-----rwt 777 => r----x--t Of these, only 400 is remotely plausible.