Comment 19 for bug 1401454

Revision history for this message
In , mic1234 (may-gup) wrote :

The patch above doesn't solve the case when there is another directory in the tmp folder, which is of the same name as desired. We can address this problem in two ways :

1. To create a new directory in /tmp every time the application starts up and delete it at shutdown.

2. Assign a user a directory, and create one for him if it doesn't already exists.
   And save this information somewhere.

 I think the second option would be better , as the first one leaves orphan directories in the /tmp folder in case of improper shutdowns.

Now if anybody could point to me some place where i could get to know, that how to save this information, it would be really helpful.