Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

zgrep does not work in AIX and gives the following error

ap61cp01> zgrep 9 ap_balance_bucket9_20120718.txt.gz gzip: ap_balance_bucket9_20120718.txt.gz: Permission denied

Please let me know the solution !!!

Regards Sumanth

share|improve this question
add comment

1 Answer

You have no permission to read the compressed file.

As root or ap_balance_bucket9_20120718.txt.gz owner, run

chmod a+r ap_balance_bucket9_20120718.txt.gz
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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