On 11/18/21 5:20 AM, linux guy wrote:
Sorry, I've been using Redhat/Fedora for 20 years.  Never once lost data like 
this.  This is bad programming, period !


I agree.
It would be a strange pattern to point a tool to a dir and expect it to use
it and then remove everything (including previously existing stuff), because
what is a user then expected to do?
1) create a new dir
2) run the tool, which finally deletes the files but leaves the dir
3) remove the dir

This appears more convoluted than:
1) point a tool to a dir with enough space available, the tool then creates its 
own temp dir,
does its stuff and removes the temp dir
Indeed, this is exactly what every tool does with $TMPDIR.

(but I have to say I have once seen a badly written software running by default with 
"its dir"
set to $TMPDIR and willingfully deleting any "too old file" there without 
distinction between
its stuff and other files: as a results it removed completely the 
/tmp/.X11-unix/ dir
causing bizarre problems with programs not starting anymore. it was commercial 
software.)

Regards.

--
   Roberto Ragusa    mail at robertoragusa.it
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to