You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using briefly to create a temporary directory for my app. Got an error message that there were too many attempts to create the directory. Looking at the code it looks like when open gets back an error code trying to create a directory or file it just tries again 10 times, without actually changing any parameters that would make it more likely to succeed. If it doesn't have write access or the directory already exists, surely it should be doing something to either accept that condition or try somewhere else?
In my case I have:
drwxr-xr-x 6 root root 225 Mar 24 14:07 /tmp/briefly-1648
and it is March 25th if that matters.
I'm going to delete the 1648 directory and try again, but I feel like a fix is needed to try a different name if the current name exists.
The text was updated successfully, but these errors were encountered:
I'm using briefly to create a temporary directory for my app. Got an error message that there were too many attempts to create the directory. Looking at the code it looks like when
open
gets back an error code trying to create a directory or file it just tries again 10 times, without actually changing any parameters that would make it more likely to succeed. If it doesn't have write access or the directory already exists, surely it should be doing something to either accept that condition or try somewhere else?In my case I have:
drwxr-xr-x 6 root root 225 Mar 24 14:07 /tmp/briefly-1648
and it is March 25th if that matters.
I'm going to delete the 1648 directory and try again, but I feel like a fix is needed to try a different name if the current name exists.
The text was updated successfully, but these errors were encountered: