Delete 8-ubuntu/permission_command.md

This commit is contained in:
hsafaei 2025-04-09 07:41:53 +00:00
parent b8d1d615de
commit 7bfd23624b

View File

@ -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.