Question

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

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top