Re: [LIP] Files deletion

Devdas Bhagat <devdas-B/gC27/pXbteH41UXmfQsti2O/[email protected]>
Newsgroups gmane.user-groups.linux.india.programmers
Message-ID <[email protected]>
On 29/03/04 12:16 +0530, suresh kumar wrote:
> Hi,
> I have observed a strange problem. When ever I am running
> some tools on a product which we have developed, files
> are getting deleted in that system. We suspect that the 
> tool may be doing it so. The tool is a network test tool
> runs on windows machine and the product runs on the 
> linux machine. 
In which case you strace the process and look for unlink calls.

> I want to log when ever a directory is being accessed, and also
> log the operations that are done on that directory.
> I don't know how to configure the syslog for this type 
> of requirement. 
You need a kernel module to log all accesses.

> Any better ideas in identifying the problem is appreciated.
man chattr and see what dies?

Devdas Bhagat


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.