Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to get -rwxrwxrwx in octal....

Status
Not open for further replies.

khoont

Programmer
Mar 9, 2001
10
US
hi evryone,
actually i want to match stat->mod($filename) and file permissions i got from ls -l of unix.

the stat->mod($filename gives some octal no like 33277
and 16893..like that..

now i have permissions like -rwxrwxrwx something like that question is how to compare this two.

Nilesh
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top