Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there any way I can look up logs on chmod changes to files/directories on linux?

JS files on my server last night were getting Permission Denied errors losing sales. I'm in disagreement with how this happened with another developer and am trying to look up logs.

share|improve this question
up vote 0 down vote accepted

No, on a standard install chmods are not logged (unless, of course, they're executed via sudo). Your best bet would be an audit of .history and .bash_history files of the various accounts that have access to your system.

share|improve this answer
This command would have likely been executed via sudo because that's how we do everything. Where can I view sudo logs? – Webnet Mar 19 '10 at 17:06
@Webnet, on some systems a command like grep sudo /var/log/auth.log should show you all the sudo usage. – Zoredache Mar 19 '10 at 17:12
Zore - you're the man, thanks. That auth.log showed me we've had someone snooping around and it looks like they might've gotten in and messed things up. Thanks!!! – Webnet Mar 19 '10 at 17:29
Zore, post your question as an answer so that I can give you credit. – Webnet Mar 19 '10 at 17:46

Your Answer


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.