I use stat two times in my script once to find the file files permissions and once to find the size of the file.
`stat -c %A "$directory/$file"`
`stat -c %s "$directory/$file"`
I am using OSX 10.7 and directory and file are variable of the current directory I am in and the file.