Re: "Cannot create temporary command file" error



On 19 May 2003, Ali Akcaagac wrote:

> On Mon, 2003-05-19 at 09:19, Dmitry Semyonov wrote:
> > mc-4.6.0 creates temporary files under "/tmp/mc-$USER" directory by
> > default. Old contents of /tmp is cleared from time to time via cron.
> > So, mc-* folders may be cleared too while mc is running (e.g. it is
> > opened on some console during several weeks). After that any attempt to
> > view e.g. *.bz2 file via F3 results in "Cannot create temporary command
> > file" error message.
> >
> > Why not to check the /tmp/mc-$USER folder existence, and try to create
> > it first before showing the error?
>
> Maybe you gonna fix your tmp dir first and chmod it correctly. It has to
> be 1777 if the user isn't able to create some temporary stuff in that
> dir then something is seriously wrong.

Don't pay too much attention to confusing error message ;)
Users are able to create files under /tmp.
The problem arises after /tmp/mc-$USER is deleted during active mc
session.


...Bye..Dmitry.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]