الصلاحيات في لينكس

الصلاحيات في لينكس

الصلاحيات في لينكس

التوصل إلى فهم أعمق لكيفية عمل نظام التشغيل مع الصلاحيات وكيف يتم تطبيق الأرقام والصلاحيات التي توفرها من  القراءة / الكتابة / التنفيذ .

وهذه الارقام متمثلة وتترواح بين 0-7.

ويبين الجدول التالي ما يمثله كل رقم

Permission

 

Permission bits – Output text – Numbered value

 

All types of access are denied  = 0 

Execute access is allowed only = 1

write access is allowed only = 2

write and execute access are allowed = 3 

read access is allowed only = 4

Read and execute access are allowed = 5 

Read and write access are allowed = 6 

Everything is allowed = 7 

 

الصلاحيات في لينكس

 

الصلاحيات في لينكس

Linux Permissions

Linux Permissions

To get a deeper understanding of how the operating system interprets the permissions we have to dig into how bit numbers represent the read/write/execute permissions. The bits are as mentioned before represented by numbers ranging from 0-7. The table below shows what each number represents.

Permission

 

Permission bits – Output text – Numbered value

 

All types of access are denied  = 0 

Execute access is allowed only = 1

write access is allowed only = 2

write and execute access are allowed = 3 

read access is allowed only = 4

Read and execute access are allowed = 5 

Read and write access are allowed = 6 

Everything is allowed = 7 

 

Linux Permissions