Re: dnf upgrade to Fedora 35 using --downloaddir just wiped out my entire home dir !

2021-11-20 Thread Roberto Ragusa
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

Re: dnf upgrade to Fedora 35 using --downloaddir just wiped out my entire home dir !

2021-11-20 Thread lejeczek via users
On 18/11/2021 01:45, linux guy wrote: dnf upgrade to Fedora 35 using --downloaddir just wiped out my entire home dir... ! So... went to do an upgrade to Fedora 35 and found that I was lacking room for the downloads.   I have /home set up on a separate drive, so I did the following: dnf

Re: dnf upgrade to Fedora 35 using --downloaddir just wiped out my entire home dir !

2021-11-19 Thread linux guy
Bug filed with Fedora: https://bugzilla.redhat.com/show_bug.cgi?id=2024430 DNF developers notified: https://github.com/rpm-software-management/dnf-plugins-extras/issues/200 ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an e

Re: dnf upgrade to Fedora 35 using --downloaddir just wiped out my entire home dir !

2021-11-19 Thread lejeczek via users
On 18/11/2021 01:45, linux guy wrote: dnf upgrade to Fedora 35 using --downloaddir just wiped out my entire home dir... ! So... went to do an upgrade to Fedora 35 and found that I was lacking room for the downloads.   I have /home set up on a separate drive, so I did the following: dnf

Re: dnf upgrade to Fedora 35 using --downloaddir just wiped out my entire home dir !

2021-11-18 Thread Sam Varshavchik
linux guy writes: « HTML content follows » Sorry, I've been using Redhat/Fedora for 20 years.  Never once lost data like this.  This is bad programming, period ! I partially agree. I've been updating since Fedora Core 4, and I never needed to make a backup of anything. I think this goes

Re: dnf upgrade to Fedora 35 using --downloaddir just wiped out my entire home dir !

2021-11-18 Thread Patrick O'Callaghan
On Thu, 2021-11-18 at 10:05 -0700, linux guy wrote: > > > Except that this is a very different case.  You're not telling > > > dnf where > > > it can create its own directory.  You are saying "this is your > > > directory, use it". > > > > Yes, use it.  But don't destroy data in it that the app d

Re: dnf upgrade to Fedora 35 using --downloaddir just wiped out my entire home dir !

2021-11-18 Thread linux guy
> > Except that this is a very different case. You're not telling dnf where > > it can create its own directory. You are saying "this is your > > directory, use it". > Yes, use it. But don't destroy data in it that the app didn't create ! rm -rf ? Really ? That is a lot strong handed. Yes, y

Re: dnf upgrade to Fedora 35 using --downloaddir just wiped out my entire home dir !

2021-11-18 Thread Andras Simon
2021-11-18 11:25 UTC+01:00, Samuel Sieb : > On 11/18/21 02:21, Andras Simon wrote: >> 2021-11-18 5:08 UTC+01:00, Ed Greshko : >>> On 18/11/2021 11:39, linux guy wrote: "And the "rm" man page also does not warn what would happen if one enters "rm -rf /home"." Sorry, not the

Re: dnf upgrade to Fedora 35 using --downloaddir just wiped out my entire home dir !

2021-11-18 Thread Samuel Sieb
On 11/18/21 02:21, Andras Simon wrote: 2021-11-18 5:08 UTC+01:00, Ed Greshko : On 18/11/2021 11:39, linux guy wrote: "And the "rm" man page also does not warn what would happen if one enters "rm -rf /home"." Sorry, not the same context. Giving an app a directory to use does not allow the app

Re: dnf upgrade to Fedora 35 using --downloaddir just wiped out my entire home dir !

2021-11-18 Thread Andras Simon
2021-11-18 5:08 UTC+01:00, Ed Greshko : > On 18/11/2021 11:39, linux guy wrote: >> "And the "rm" man page also does not warn what would happen if one enters >> "rm -rf /home"." >> >> Sorry, not the same context. Giving an app a directory to use does not >> allow the app to delete data it didn't c

Re: dnf upgrade to Fedora 35 using --downloaddir just wiped out my entire home dir !

2021-11-18 Thread Marcel J.E. Mol
It is also a bit risky to to just give your whole /home to a application when it probably contains lots uf subdirectories with valuable data. I would have created a /home/dnf supbir and use that as downloaddir. Cheers, Marcel On Thu, Nov 18, 2021 at 08:53:43AM +, Andy Paterson via users wrot

Re: dnf upgrade to Fedora 35 using --downloaddir just wiped out my entire home dir !

2021-11-18 Thread Andy Paterson via users
This is why my /home has its own dedicated 2 disk md mirror The disks are physically powered off before i do a dnf upgrade of my system disk I then fix fstab to mount my /home as the very last stage!!! > On 18 Nov 2021, at 04:39, Joe Zeff wrote: > > On 11/17/21 9:20 PM, linux guy wrote: >> Sor

Re: dnf upgrade to Fedora 35 using --downloaddir just wiped out my entire home dir !

2021-11-17 Thread linux guy
Bug filed with Fedora: https://bugzilla.redhat.com/show_bug.cgi?id=2024430 Developers notified: https://github.com/rpm-software-management/dnf-plugins-extras/issues/200 ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email

Re: dnf upgrade to Fedora 35 using --downloaddir just wiped out my entire home dir !

2021-11-17 Thread Ed Greshko
On 18/11/2021 12:29, linux guy wrote: Sorry, the use of #rm -rf like that is unacceptable.  The developer knows what directories s/he created.  No need to do an rm -rf and kill everything on the directory tree from there down.  That is overkill and dangerous. Well, file a bugzilla.  This is

Re: dnf upgrade to Fedora 35 using --downloaddir just wiped out my entire home dir !

2021-11-17 Thread Joe Zeff
On 11/17/21 9:29 PM, linux guy wrote: Sorry, the use of #rm -rf like that is unacceptable.  The developer knows what directories s/he created.  No need to do an rm -rf and kill everything on the directory tree from there down.  That is overkill and dangerous. So file a bug. __

Re: dnf upgrade to Fedora 35 using --downloaddir just wiped out my entire home dir !

2021-11-17 Thread Joe Zeff
On 11/17/21 9:20 PM, linux guy wrote: Sorry, I've been using Redhat/Fedora for 20 years.  Never once lost data like this.  This is bad programming, period ! On Wed, Nov 17, 2021 at 9:15 PM Joe Zeff > wrote: On 11/17/21 6:45 PM, linux guy wrote: > Any chance I can

Re: dnf upgrade to Fedora 35 using --downloaddir just wiped out my entire home dir !

2021-11-17 Thread Samuel Sieb
On 11/17/21 20:29, linux guy wrote: Sorry, the use of #rm -rf like that is unacceptable.  The developer knows what directories s/he created.  No need to do an rm -rf and kill That is not true. Any particular run of dnf does not know when a previous run was done or what files or directories i

Re: dnf upgrade to Fedora 35 using --downloaddir just wiped out my entire home dir !

2021-11-17 Thread linux guy
Sorry, the use of #rm -rf like that is unacceptable. The developer knows what directories s/he created. No need to do an rm -rf and kill everything on the directory tree from there down. That is overkill and dangerous. ___ users mailing list -- users@l

Re: dnf upgrade to Fedora 35 using --downloaddir just wiped out my entire home dir !

2021-11-17 Thread Samuel Sieb
On 11/17/21 19:39, linux guy wrote: "And the "rm" man page also does not warn what would happen if one enters "rm -rf /home"." Sorry, not the same context.   Giving an app a directory to use does not allow the app to delete data it didn't create. If you give an application a cache directory

Re: dnf upgrade to Fedora 35 using --downloaddir just wiped out my entire home dir !

2021-11-17 Thread linux guy
At least WARN the user, either in the man page or on the command line or both that you are about to destroy data. ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Co

Re: dnf upgrade to Fedora 35 using --downloaddir just wiped out my entire home dir !

2021-11-17 Thread linux guy
Sorry, I've been using Redhat/Fedora for 20 years. Never once lost data like this. This is bad programming, period ! On Wed, Nov 17, 2021 at 9:15 PM Joe Zeff wrote: > On 11/17/21 6:45 PM, linux guy wrote: > > Any chance I can recover the files ? > > I very seriously doubt it because in Linux,

Re: dnf upgrade to Fedora 35 using --downloaddir just wiped out my entire home dir !

2021-11-17 Thread Joe Zeff
On 11/17/21 6:45 PM, linux guy wrote: Any chance I can recover the files ? I very seriously doubt it because in Linux, gone is gone. I hope I'm wrong here, but this is why you should never upgrade your system without first backing up your /home and anything else you consider important.

Re: dnf upgrade to Fedora 35 using --downloaddir just wiped out my entire home dir !

2021-11-17 Thread linux guy
Just confirmed the dnf system-upgrade probably does a rm-rf on the "download" dir. >From dnf-plugins-extras/plugins/system_upgrade.py: === def clear_dir(path): if not os.path.isdir(path): return for entry in os.l

Re: dnf upgrade to Fedora 35 using --downloaddir just wiped out my entire home dir !

2021-11-17 Thread Ed Greshko
On 18/11/2021 11:39, linux guy wrote: "And the "rm" man page also does not warn what would happen if one enters "rm -rf /home"." Sorry, not the same context.   Giving an app a directory to use does not allow the app to delete data it didn't create. Quite apparently, it does in this case. S

Re: dnf upgrade to Fedora 35 using --downloaddir just wiped out my entire home dir !

2021-11-17 Thread linux guy
"And the "rm" man page also does not warn what would happen if one enters "rm -rf /home"." Sorry, not the same context. Giving an app a directory to use does not allow the app to delete data it didn't create. ___ users mailing list -- users@lists.fedor

Re: dnf upgrade to Fedora 35 using --downloaddir just wiped out my entire home dir !

2021-11-17 Thread Ed Greshko
On 18/11/2021 11:00, linux guy wrote: "'I'm not surprised.  You just told dnf that /home was its working directory, so it can do whatever it wants with it.  It's going to want to clean it out so only the relevant files are there." Sorry, I did not give dnf the right to delete files it did not cr

Re: dnf upgrade to Fedora 35 using --downloaddir just wiped out my entire home dir !

2021-11-17 Thread linux guy
"'I'm not surprised. You just told dnf that /home was its working directory, so it can do whatever it wants with it. It's going to want to clean it out so only the relevant files are there." Sorry, I did not give dnf the right to delete files it did not create in that directory.Note that it

Re: dnf upgrade to Fedora 35 using --downloaddir just wiped out my entire home dir !

2021-11-17 Thread Samuel Sieb
On 11/17/21 17:45, linux guy wrote: dnf upgrade to Fedora 35 using --downloaddir just wiped out my entire home dir... ! So... went to do an upgrade to Fedora 35 and found that I was lacking room for the downloads.   I have /home set up on a separate drive, so I did the following: dnf

Re: dnf upgrade to Fedora 35 using --downloaddir just wiped out my entire home dir !

2021-11-17 Thread linux guy
Or maybe the home directory isn't getting mounted to /home ? On Wed, Nov 17, 2021 at 6:45 PM linux guy wrote: > dnf upgrade to Fedora 35 using --downloaddir just wiped out my entire home > dir... ! > > So... went to do an upgrade to Fedora 35 and found that I was lacki

dnf upgrade to Fedora 35 using --downloaddir just wiped out my entire home dir !

2021-11-17 Thread linux guy
dnf upgrade to Fedora 35 using --downloaddir just wiped out my entire home dir... ! So... went to do an upgrade to Fedora 35 and found that I was lacking room for the downloads. I have /home set up on a separate drive, so I did the following: dnf system-upgrade download --downloaddir=/home