Files
tldr/pages.fa/common/chmod.md
K.B.Dharun Krishna 5c26174aa9 pages/*: update links and more info link script (#11390)
* pages/*: update links and more info link script

Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

* cleanup: reformat code

* ax-webapp: fix link

* curl: fix false positive

Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>

---------

Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
2023-11-06 23:14:12 +05:30

37 lines
1.2 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# chmod
> تغییر مجوز(ها)ی دسترسی به یک فایل یا پوشه.
> اطلاعات بیشتر: <https://www.gnu.org/software/coreutils/chmod>.
- به مالک فایل دسترسی اجرا میدهد:
`chmod u+x {{مسیر/به/فایل}}`
- به کابر مالک دسترسی خواند|نوشتن یک فایل|پوشه را میدهد:
`chmod u+rw {{مسیر/به/فایل_یا_پوشه}}`
- دسترسی اجرا را از گروه صلب میکند:
`chmod g-x {{مسیر/به/فایل}}`
- به تمامی کاربرها دسترسی خواندن و اجرا میدهد:
`chmod a+rx {{مسیر/به/فایل}}`
- به دیگران(کاربرانی که صاحب فایل نیستند) دسترسی های گروه را میدهد:
`chmod o=g {{مسیر/به/فایل}}`
- به همگان همه دسترسی(ها) را میدهد:
`chmod o= {{مسیر/به/فایل}}`
- به صورت بازگشتی به گروه و دیگران دسترسی نوشتن میدهد:
`chmod -R g+w,o+w {{مسیر/به/پوشه}}`
- به صورت بازگشتی در پوشه و زیرپوشه(ها) دسترسی اجرا و خواندن فایل(ها) را میدهد:
`chmod -R a+rX {{مسیر/به/پوشه}}`