Solved

Changing permissions

Posted on 2003-11-14
4
580 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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.

756 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