Numeric Based Permissions သတ်မှတ်ပုံ
ကျွန်တော်တို့ linux မှာ permission သတ်မှတ်တဲ့အခါ
Decimal ကိုသုံး သလို Symbolic နဲ့ chmod
command ကို အသုံးပြုကြပါတယ်
အဓိကအားဖြင့်ပြောပြချင်တာက Numeric Based Permissions
အကြောင်းပါပဲ
ဘာကြောင့်အခုလို သုံးလဲဆိုတာ အောက်မှာ လေ့လာနိုင်ပါတယ်Octal Binary String Description0 000 — No permissions
1 001 –x Execute only
2 010 -w- Write only
3 011 -wx Write and execute (2 + 1)
4 100 r– Read only
5 101 r-x Read and execute (4 + 1)
6 110 rw- Read and write (4 + 2)
7 111 rwx Read, write,and execute (4+2+1)
Decimal ကိုသုံး သလို Symbolic နဲ့ chmod
command ကို အသုံးပြုကြပါတယ်
အဓိကအားဖြင့်ပြောပြချင်တာက Numeric Based Permissions
အကြောင်းပါပဲ
ဘာကြောင့်အခုလို သုံးလဲဆိုတာ အောက်မှာ လေ့လာနိုင်ပါတယ်Octal Binary String Description0 000 — No permissions
1 001 –x Execute only
2 010 -w- Write only
3 011 -wx Write and execute (2 + 1)
4 100 r– Read only
5 101 r-x Read and execute (4 + 1)
6 110 rw- Read and write (4 + 2)
7 111 rwx Read, write,and execute (4+2+1)
Symbolic rwx r-x r–
Binary 111 101 100
Decimal 7 5 4
permission change မယ်ဆိုရင် command က
#chmod 754 file
အခုဆို numeric based permissions အကြောင်းကို သိသွားလောက်ပြီထင်ပါတယ်
ကျေးဇူးတင်ပါတယ်
BNN TECH မှာ လစဥ် Linux Foundation Course ရှိပါတယ်
သင်တန်းစုံစမ်းရန်
ဒီနေရာကိုနှိပ်ပါ
bnntech

