문제

i user APACHE with PHP. if we use FTP program like filezilla. we will have field information about Permission (777) and Owner/Group (99 99) in *NIX i understand how to translate the Permission like 777

  • 4 = Read
  • 2 = Write
  • 1 = eXecute

where its mean RW = 42 = 6

but what about Owner/Group = 99 99

How to translate it??

Many Thanks

도움이 되었습니까?

해결책

These are owner and group ids, so in the permission block :

  • first number refers to owner rights (uid 99)
  • second number refers to owner group rights (gid 99)
  • third number refers to others rights

In your case, 777 is read/write/execute for owner, owner group, and others.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top