[Gambas-user] A little thing to play with gambas

Benoit Minisini gambas at ...1...
Tue Oct 16 13:50:41 CEST 2007


On lundi 15 octobre 2007, Fabien Bodard wrote:
> To Benoit :
>
> Did you think the tmp executable will be in /tmp/gambas.userid/ or in /tmp
> ?
>

As you wrote gbs2 in Gambas, you should use the default temporary file 
management provided by the interpreter: all temporary files are put in a 
directory named /tmp/gambas.$USERID/ that is only readable by this $USERID.

If you put things in /tmp, then other users may be able to do some bad things 
to your files.

But if you want to create some sort of persistent cache, you may consider 
using $HOME/tmp or something like /var/cache for root user.

Regards,

-- 
Benoit Minisini




More information about the User mailing list