I wonder if there is command which will give you access rights of any file you provide. There stat related command but it is not accessible in solaris.

stat -c %a /etc/passwd

Is there any equivalent command in solaris ?


You can use pkgproto:

/usr/bin/pkgproto <filename>

  • That's not what that's for. – bahamat Jun 26 '12 at 17:15

stat is available for solaris in the gnucore package.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.