• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 594
  • Last Modified:

Changing permissions

Hi, Im running Mandrake 9.2 and I've come across somehthing strange, permissions and ownership of files changing on their own. I set /usr/sbin/sendmail to be root.root and 4555, but after a while (not sure how long, I set the permissions at night and the next morning they've been changed back) they are set back to what they were originally.

What could be causing this and how do I stop it as it's casuing my webmail to stop working.

  • 2
1 Solution
How about installing a file system monitoring tool like Tripwire (www.tripwire.com) -not free or AIDE (http://www.cs.tut.fi/~rammer/aide.html)
did u setup msec. if yes then it may be the culprit.
The Mandrake-Security package msec is a system that goes around tying up loose ends.  You might want
to check the cron jobs running msec scripts and see.  Usually under the
higher security levels it changes permissions on certsain types of files
that would otherwise be gateways for intrusion.  You may need to
customize the script a little to avoid what you want to leave open.

Also check root's mail.  YOu should have been notified there as this
permission was changed.
choccarlmAuthor Commented:
Thanks  a lot, it was msec that was causing the permisson change
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

7 new features that'll make your work life better

It’s our mission to create a product that solves the huge challenges you face at work every day. In case you missed it, here are 7 delightful things we've added recently to monday to make it even more awesome.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now