From: Vikram Sharma Date: 2008-12-01T21:24:01+09:00 Subject: Re: Using File:Stat.mode method to find file permissions in Unix Tim Hunter wrote: > Vikram Sharma wrote: >> For a file having 777 permissions, this prints : 16895 >> >> Any Idea on what does this number imply ? >> >> Thanks, >> Vikram > > Permissions are typically specified as octal numbers. 16895 is decimal. > > "%o" % 16895 # -> 40777 Oh Yes ! Thanks a lot.. :-) Cheers, Vikram -- Posted via http://www.ruby-forum.com/.