From 7bfd23624bc39a229c6ca7893019addb66856086 Mon Sep 17 00:00:00 2001 From: hsafaei Date: Wed, 9 Apr 2025 07:41:53 +0000 Subject: [PATCH] Delete 8-ubuntu/permission_command.md --- 8-ubuntu/permission_command.md | 41 ---------------------------------- 1 file changed, 41 deletions(-) delete mode 100644 8-ubuntu/permission_command.md diff --git a/8-ubuntu/permission_command.md b/8-ubuntu/permission_command.md deleted file mode 100644 index af8c0f9..0000000 --- a/8-ubuntu/permission_command.md +++ /dev/null @@ -1,41 +0,0 @@ -# --------------------------بسم الله الرحمن الرحیم -------------------------- # - -# 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. \ No newline at end of file