How can I use stat to view octal file permissions

I've tried to use stat in Terminal to get file permissions in octal notation but the tips I've found online do not work in OS X. It seems that the Mac flavor of stat is slightly different from that used in Linux...


There are a bewildering number of options in stat and I have not been able to find the right mix, help! 😟

MacBook Pro (17-inch Mid 2010), Mac OS X (10.7.3)

Posted on Mar 15, 2012 2:45 PM

Reply
2 replies

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

How can I use stat to view octal file permissions

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.