GusDeCooL
GusDeCooL

Reputation: 5758

CHMOD owner/group 99 609

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

where its mean RW = 42 = 6

but what about Owner/Group = 99 99

How to translate it??

Many Thanks

Upvotes: 0

Views: 1177

Answers (1)

icecrime
icecrime

Reputation: 76755

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.

Upvotes: 1

Related Questions