"Cannot create temporary command file" error

Ali Akcaagac aliakc at web.de
Mon May 19 07:29:25 UTC 2003


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.




More information about the mc-devel mailing list