Solved

Changing permissions

Posted on 2003-11-14
4
578 Views
Last Modified: 2013-12-15
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.

Thanks
0
Comment
Question by:choccarlm
  • 2
4 Comments
 
LVL 18

Expert Comment

by:liddler
ID: 9747651
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)
0
 
LVL 24

Expert Comment

by:shivsa
ID: 9753450
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.
0
 
LVL 24

Accepted Solution

by:
shivsa earned 125 total points
ID: 9753452
0
 

Author Comment

by:choccarlm
ID: 9762414
Thanks  a lot, it was msec that was causing the permisson change
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
Fine Tune your automatic Updates for Ubuntu / Debian
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

786 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question