Tuesday, December 4, 2012

Re: vim script can't create /tmp file

On Tuesday, December 4, 2012 2:07:13 PM UTC+5:30, Christian Brabandt wrote:
> On Tue, December 4, 2012 06:13, sinbad wrote:
>
> > Looks like the tmp file deletion is the problem.
>
> > when i started to see the errors i found that
>
> > tmp file is missing.
>
> >
>
> > No i'm not running any cleanup job. how do i know
>
> > if someone else is deleting the file. is there a
>
> > way to protect the tmp file not to be deleted.
>
> > I do not suspect any of my other scripts are deleting
>
> > the file, as i did not install any new scripts, and i
>
> > was running with the same set of scripts for some
>
> > years without any problems
>
>
>
> Check your cron jobs and check the installed packages.
>
> A package name such as tmpreaper is suspicious.
>
>
>
> An unconventional approach would be to create a file /tmp/dummy
>
> chattr +i it and watch the logs, if some program is complaining.
>
>
>
> regards,
>
> Christian

actually i don't have the root permission.
i'm getting the following error,

chattr: Operation not permitted while setting flags on vXrMR9M

is there a way to check if any of my vim script is deleting the
file.

thanks
sinbad

--
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

No comments:

Post a Comment