On Tuesday, December 11, 2012 12:51:56 PM UTC+5:30, Gary Johnson wrote:
> On 2012-12-10, sinbad wrote:
> 
> > On Wednesday, December 5, 2012 10:51:05 PM UTC+5:30, Gary Johnson wrote:
> 
> > > On 2012-12-05, Christian Brabandt wrote:
> 
> 
> 
> > > > Have you checked all your cronjobs and scripts, that you run?
> 
> > > > Can you eliminate, that root doesn't run some jobs, that clean /tmp?
> 
> > > 
> 
> > > You may have to do some digging to find root's cron jobs.  For
> 
> > > example, on my Ubuntu 10.04 system, "sudo cron -l -u root" says that
> 
> > > root has no cron jobs, but it does run /etc/crontab and the scripts
> 
> > > in /etc/cron.d.  It doesn't clean /tmp, though.
> 
> 
> 
> > I am running as non-root and i don't have sudo
> 
> > permission, i was not able to check the root's
> 
> > cron jobs, i checked mine there are no cron
> 
> > jobs running. am i screwed ?
> 
> 
> 
> I don't think it's hopeless, but may be difficult to find the cause.
> 
> 
> 
> You wrote that you don't have root or sudo permission.  That
> 
> suggests that you are using a computer administered by someone else.
> 
> Can you just ask that person or someone in that group if they know
> 
> of any /tmp-cleaning program that might be running?
> 
> 
> 
> On my Ubuntu 10.04 and Fedora 14 systems, all the /etc/cron* files
> 
> have 755 permissions, so you could poke around there and see if you
> 
> can find some /tmp cleaner.
> 
> 
> 
> It _might_ help to know the timing of these deletions.  Do they
> 
> happen after Vim has been running for a certain amount of time?  Do
> 
> they happen at certain times of day, or at a certain number of
> 
> minutes past the hour?  That might give you a clue to the cause.  If
> 
> you could predict the times at which it occurs, you could possibly
> 
> run "ps -ef" in a loop at that time and look for suspicious
> 
> processes.
> 
> 
> 
> HTH,
> 
> Gary

there are two possibilities here, first one of vim
script is deleting the tmpfile, the other is some cron
job might be deleting it. in the first case can i put a
watch on the tmpfile created from with in vim. In the
latter case, can i force vim to create the tmp directory
in my homedir rather than in /tmp so that the cron job
won't have access to it. please suggest ways to achieve
above.

-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to