[TAG] Find what is created a given directory?
Suramya Tomar
security at suramya.com
Sat Jan 30 21:00:37 MSK 2010
Hey Neil,
> rmdir ~/Downloads
> while [ ! -d ~/Downloads ]; do sleep 1; done # Wait for directory to appear
> lsof | grep Downloads # see who is using directory
>
> The above is completely untested.
>
I tried the above but it didn't help. Basically what happened is that by
the time the above condition was satisfied and the lsof command ran
there was no process which was accessing that directory.
So it seems like the directory is created and then left alone. There is
never any content created inside it.
Thanks for the advise though.
- Suramya
--
-------------------------------------------------
Name : Suramya Tomar
Homepage URL: http://www.suramya.com
-------------------------------------------------
************************************************************
Disclaimer:
Any errors in spelling, tact, or fact are transmission errors.
************************************************************
More information about the TAG
mailing list