News for hackers. Stuff that matters.
Re:Protection from Adobe Creative Cloud Bug by al2o3cr on Friday February 12, 2016 @04:26PM (#11090744)
"Software development is hard. Adobe's software is incredibly complex. Sure this sucks, but it's worth keeping that in mind before blasting Adobe."

The sentiment is solid, but this is a major software company dropping an update that fails to do BASIC checks (like "is the target directory named what I expect?") before permanently deleting data. Blasting is entirely appropriate.

Re:Protection from Adobe Creative Cloud Bug by CaptSpify on Friday February 12, 2016 @07:28PM (#11091710)
Especially for a company like adobe that doesn't exactly have the best track-record for solid software updates....
Re:Protection from Adobe Creative Cloud Bug by jjm on Monday February 15, 2016 @08:05AM (#11103116)
Totally agree, but as you pointed out Adobe is a Tech company. It has the dollars to do full development, to hire good people, and do things right.

Software development is hard, managing projects and making stupid decisions is easy.

Re:Protection from Adobe Creative Cloud Bug by rabboRubble on Friday February 12, 2016 @07:07PM (#11091620)
This is worse than the other serious bug I've been dealing with today in Lightroom.

TL/DR, using Lightroom's import function creates huge amounts of crap video cache files in at least two buried directories regardless if those video files are imported into LR or not. I had a 5-6 GB photo library and 262GB of cache files for video I had not imported. The application has a cache limit, and blew by mine by a factor of 87. Cache purging does not delete the data either.

Anyway, not releated to this particular bug, but I'm not feeling much love for Adobe today.

https://feedback.photoshop.com/photoshop_family/topics/light...?

Re:Protection from Adobe Creative Cloud Bug by kevingadd on Friday February 12, 2016 @09:41PM (#11092181)
Oh my god, I didn't notice this until you mentioned it. The lightroom cache contained a full copy of every video file on my hard drive - over 250GB.
Re:Protection from Adobe Creative Cloud Bug by rabboRubble on Saturday February 13, 2016 @12:25AM (#11092682)
Got ya beat. LR had multiple cache files of all my video files. I have multiple point in time backups of my key data. I also have a fracked up photo library due to a pre-CrashPlan operator error that deleted some important pictures. So I've been running the import process over these point in time back ups to restore. So my cache file directory looked like this:

Stupid_video_cache_in_Lightroom.whatever Stupid_video_cache_in_Lightroom_(1).whatever Stupid_video_cache_in_Lightroom_(2).whatever Stupid_video_cache_in_Lightroom_(3).whatever Stupid_video_cache_in_Lightroom_(n).whatever

Kill me now...

Re:Protection from Adobe Creative Cloud Bug by SiVal on Saturday February 13, 2016 @04:11AM (#11093336)
Where are these buried cache files? I need to check this out, and I'd like to either find them or be sure I don't have them.
Re:Protection from Adobe Creative Cloud Bug by rabboRubble on Saturday February 13, 2016 @03:41PM (#11095581)
Depends on your OS. Mac OS X, check:

/Users/username/Library/Application Support/Adobe/Common/Media Cache Files /Users/username/Library/Caches/Adobe/Lightroom/Video/Media Cache Files

Windows, you'll have to trawl this thread for probable locations:

https://feedback.photoshop.com/photoshop_family/topics/light...

Re:Protection from Adobe Creative Cloud Bug by scblock on Friday February 12, 2016 @07:48PM (#11091806)
"Software development is hard. Adobe's software is incredibly complex. Sure this sucks, but it's worth keeping that in mind before blasting Adobe."

That's a joke, right? Software development is hard, but this kind of mistake is indefensible.

Re:Protection from Adobe Creative Cloud Bug by vsync on Saturday February 13, 2016 @12:07AM (#11092648)
Not in today's Agile world.

Really the problem is just there wasn't a user story saying:

  As a user having a directory .AAAAA 
  When I run an Adobe application 
  The directory should still be there
Re:Protection from Adobe Creative Cloud Bug by Piskvorrr on Monday February 15, 2016 @07:17AM (#11102904)
Also, the computer should not spontaneously combust. And it shouldn't try to bite my hand off. And it shouldn't morph into a soul-devouring monstrosity either. In other words, there is an infinite list of things that your/my/any program shouldn't cause. Good luck making user stories for all of them.
Re:Protection from Adobe Creative Cloud Bug by ethbro on Monday February 15, 2016 @07:26AM (#11102950)
This so much.

If your Agile developers follow user stories to the exclusion of common sense, you should probably fire them now.

Re:Protection from Adobe Creative Cloud Bug by roddux on Monday February 15, 2016 @07:29AM (#11102958)
I'm fairly certain the parent post was made in jest.
Re:Protection from Adobe Creative Cloud Bug by Piskvorrr on Monday February 15, 2016 @07:32AM (#11102969)
Me too; hence the absurd examples :)
Re:Protection from Adobe Creative Cloud Bug by chrismbarr on Monday February 15, 2016 @07:47AM (#11103037)
Sounds funny, but you are sadly correct. Some junior (or even an experienced) dev just took the shortest route to delete the file that was always listed first on their computer. `deleteFile(files[0]);`
Re:Protection from Adobe Creative Cloud Bug by userbinator on Friday February 12, 2016 @08:50PM (#11092030)
Even just trying to figure out how this bug could even be introduced baffles me, and I've been able to correctly determine the cause of some very odd bugs before (including this one from Adobe: https://news.ycombinator.com/item?id=8797640 )

It reminds me of this quote:

"There are two ways to develop software: Make it so simple that there are obviously no bugs, or so complex that there are no obvious bugs." - Tony Hoare

Re:Protection from Adobe Creative Cloud Bug by vvanders on Friday February 12, 2016 @06:24PM (#11091424)
My favorite latest CC bug: There's a node.js instance that CC installs that constantly pegs my CPU at 50%(100% core 1 of 2).

I can kill it and it keeps coming back, Freaking annoying, I'm almost to the point of just uninstalling CC from my laptop and leaving it only for my desktop.

No clue what it's doing there but it'll happily spin away for hours at 100% utilization.

Re:Protection from Adobe Creative Cloud Bug by wildpeaks on Saturday February 13, 2016 @10:34AM (#11094297)
I wish Adobe upgraded Node to the LTS at least; last I checked, they still used Node 0.10.
Re:Protection from Adobe Creative Cloud Bug by sp332 on Friday February 12, 2016 @07:21PM (#11091684)
Is there a way to throttle it without killing it?
Re:Protection from Adobe Creative Cloud Bug by xkcd-sucks on Friday February 12, 2016 @07:46PM (#11091798)
could you suspend the process with e.g.

kill -SIGSTOP or kill -SIGTSTP

Re:Protection from Adobe Creative Cloud Bug by jads on Friday February 12, 2016 @09:00PM (#11092059)
"Good news, everybody. Further reports indicate the bug doesn't delete the folder, just the contents. So, all that needs to be done is to make a protection folder one time."

Oh great! I'm glad it just deleted the files but leaves an empty folder intact. Really dodged a bullet there.

Re:Protection from Adobe Creative Cloud Bug by ksml on Saturday February 13, 2016 @01:43AM (#11092924)
In the original post, he says that you need to create a directory, and then write a script to recreate it in the event that it gets deleted (to prevent Adobe from nuking your files). Since Adobe deletes the contents and not the folder, it turns out that you don't need to keep recreating it.
Re:Protection from Adobe Creative Cloud Bug by atYevP on Saturday February 13, 2016 @01:26AM (#11092868)
Yev from Backblaze here -> Today was a weird day.
Re:Protection from Adobe Creative Cloud Bug by santaclaus on Friday February 12, 2016 @10:52PM (#11092425)
Some poor programmer is going to get it after the source of the bug is git blamed... (Well, Perforce blamed? Does Adobe still use Perforce?)
Re:Protection from Adobe Creative Cloud Bug by justinclift on Friday February 12, 2016 @11:04PM (#11092467)
Their QA dept should also get it.

People make mistakes during development... but there's no way this should have gotten past even basic QA testing. :(

Re:Protection from Adobe Creative Cloud Bug by vsync on Saturday February 13, 2016 @12:11AM (#11092657)
Q...A?

It sounds like you want those to be steps that come after each other, like some sort of waterfall.

If you want to get with the times, you, the developer, should write a unit test for each file you think shouldn't be deleted on running the application.

Re:Protection from Adobe Creative Cloud Bug by justinclift on Saturday February 13, 2016 @12:19AM (#11092670)
Heh Heh Heh

That's one way of looking at it. ;)

Another way of looking at it is there shouldn't be a product update/release getting pushed out to hundreds of thousands of users (a guess), without passing an extensive validation suite. Developer unit tests are for a different purpose.

Unless I missed your sarcasm? :)

Re:Protection from Adobe Creative Cloud Bug by vsync on Sunday February 14, 2016 @11:43PM (#11101556)
> Unless I missed your sarcasm?

Ohh yes.

Nowadays I work in medical devices. It's nice because you're actually legally required to spend 5 minutes making sure your product does what you say it will before you're allowed to sell it, in contrast with what's happened to the rest of the industry.

Re:Protection from Adobe Creative Cloud Bug by cmurf on Saturday February 13, 2016 @02:54AM (#11093165)
I wonder if an ACL can help.

  # chmod +ai "group:everyone deny delete" folder
Should set inherited deny delete for any user.
Re:Protection from Adobe Creative Cloud Bug by calinet6 on Friday February 12, 2016 @09:16PM (#11092106)
For pete's sake can someone, anyone just lead us to details about the bug itself? I don't even know what this is protecting from.
Re:Protection from Adobe Creative Cloud Bug by timetoswitch on Friday February 12, 2016 @09:28PM (#11092142)
Today my backblaze started complaining that it couldn't find a key folder. This explains where it went...
Re:Protection from Adobe Creative Cloud Bug by santaclaus on Friday February 12, 2016 @10:39PM (#11092376)
Full explanation from the Backblaze folks [1].

[1] https://backblaze.zendesk.com/entries/98786348--bzvol-is-mis...