News for hackers. Stuff that matters.
Re:Google Drive trash items will be automatically deleted af... by olyjohn on Thursday September 24, 2020 @04:45PM (#24583394)
This is gonna suck for the people who store their important documents in the trash.
Re:Google Drive trash items will be automatically deleted af... by dharmab on Thursday September 24, 2020 @05:19PM (#24583803)
Anyone impacted by this who needs a new cloud-scale trash service should check out https://devnull-as-a-service.com.
Re:Google Drive trash items will be automatically deleted af... by tenebrisalietum on Thursday September 24, 2020 @07:15PM (#24584781)
This is a joke, but a real service like this could be neat. For example, it listens on all ports and returns a "null" response based on the typical service of that port.

Not-very-well-thought-out-examples:

http - Always returns 404.

https - Always returns 404.

ipp - Returns whatever IPP says for "printer not found" or equivalent.

lpd - Takes data, does nothing with it.

dns - Always returns NXDOMAIN.

ident - Always returns nobody:nogroup

telnet - Accepts any username/password/credentials, returns "This account is not available" and immediately exits.

ssh - Accepts any username/password/credentials, returns "This account is not available" and immediately exits.

smtp - Accepts message, doesn't do anything with it.

pop3/imap - Accepts any login, always has 0 messages.

irc - Accepts any nick, PRIVMSG or other commands, commands don't actually do anything. Returns null list of channels and users when queried.

vnc - ?

rdp - ?

Etc.

Re:Google Drive trash items will be automatically deleted af... by unicodepepper on Friday September 25, 2020 @01:17AM (#24586789)
Considering that /dev/null always reports success on read and write, I'd imagine that http(s) should give a 200 with no payload.
Re:Google Drive trash items will be automatically deleted af... by riantogo on Thursday September 24, 2020 @04:47PM (#24583415)
"I would have gladly released my tax returns but unfortunately it was saved in the trash folder"
Re:Google Drive trash items will be automatically deleted af... by moioci on Thursday September 24, 2020 @06:03PM (#24584197)
Re:Google Drive trash items will be automatically deleted af... by tonyedgecombe on Thursday September 24, 2020 @04:52PM (#24583497)
That reminds me of my customers that used to put documents in C:\Temp
Re:Google Drive trash items will be automatically deleted af... by hanoz on Thursday September 24, 2020 @05:01PM (#24583606)
My C:\temp is so full of stuff, some unknown amount of which turned out to be not as temp as I first thought, that I've now had to create C:\verytemp for the really temp stuff, which I make sure is emptied daily.
Re:Google Drive trash items will be automatically deleted af... by cabaalis on Thursday September 24, 2020 @05:17PM (#24583781)
Some 20 years ago, when HD space was at a premium, I wrote a small script to clear out various temp directories in Windows 98. I tested the deployment on a colleague's computer, only to have him inform me that he used c:\temp as "temporary storage for projects I'm working on". Oh, well.
Re:Google Drive trash items will be automatically deleted af... by sfifs on Thursday September 24, 2020 @08:13PM (#24585165)
I actually have a tmp on my desktop for this very purpose :-)
Re:Google Drive trash items will be automatically deleted af... by tonyedgecombe on Friday September 25, 2020 @08:56AM (#24589189)
If you go back far enough then calling GetTempPath() from the win32 API would return C:\Temp. It was always meant as a place for programs to put temporary files, not for users to stuff their garbage.
Re:Google Drive trash items will be automatically deleted af... by lokedhs on Friday September 25, 2020 @12:24AM (#24586574)
That reminds me of the early days of me doing sysadmin.

We had a BSD system and an Ultrix system. For convenience I temporarily NFS mounted the root of the Ultrix system into /tmp/foo on the BSD machine. After I was done I forgot to umount the volume.

The next day, the Ultrix machine behaved really weird. Things seemed to work fine, but a lot of files were missing. It took a bit of troubleshooting before we figured out what had happened.

As it turns out, the nightly /tmp cleanup script had run on the BSD machine, and this script deleted all files which had not been accessed in a week. Of course the script had traversed the NFS mount and cleaned up everything on the root disk of the other machine. This meant that all the files that were commonly used were still there, so things seemed fine until you tried to do anything that involved files that hadn't been touched in the last week.

That's when I learned never to use /tmp for anything important.

Re:Google Drive trash items will be automatically deleted af... by simonklitj on Thursday September 24, 2020 @05:29PM (#24583912)
Not a windows user. Is this directory automatically emptied on reboot or something?
Re:Google Drive trash items will be automatically deleted af... by tonyedgecombe on Friday September 25, 2020 @08:54AM (#24589164)
No but various programs will store and delete files in the temporary folder. Also if you use the disk cleanup utility it will clear them out. I think from Windows XP onwards it was moved out of the root to somewhere somewhat harder to find.

Of course it was never meant as a place to store users files temporarily, it was always for programs that needed to write a temporary file.

Re:Google Drive trash items will be automatically deleted af... by saagarjha on Thursday September 24, 2020 @05:26PM (#24583881)
You joke, but I have seven git repository checkouts there right now. It’s a convenient place to put things I don’t want polluting my drive forever or being backed up, but need to exist on my filesystem at some point.
Re:Google Drive trash items will be automatically deleted af... by Asooka on Friday September 25, 2020 @03:26AM (#24587427)
On Windows, you can make a temp folder in appdata/local and use that - local is specifically for files that don't get backed up. Actual temp folders can get deleted at any time.
Re:Google Drive trash items will be automatically deleted af... by unixhero on Thursday September 24, 2020 @04:57PM (#24583561)
Let's face it. We've all been there.
Re:Google Drive trash items will be automatically deleted af... by kryogen1c on Thursday September 24, 2020 @04:47PM (#24583423)
a decidedly nonzero amount of people, vis a vi https://xkcd.com/1172/
Re:Google Drive trash items will be automatically deleted af... by SamBam on Thursday September 24, 2020 @05:21PM (#24583823)
> CW: Yes, I move them to the recycling bin to make them new again so I can reuse the files.

> IT: This is the trash bin, you would move files here to delete them off of your computer.

> CW: IT IS NOT A TRASH CAN, IT IS A RECYCLING BIN! IT SAYS SO RIGHT UNDER THE ICON!

Ok, now wait a second, why the hell is it called a recycling bin anyway?

"Recycling" doesn't mean "plan to throw this away later, but maybe I'll still grab it out of the trash can in case I made a mistake." Who came up with this metaphor?

Re:Google Drive trash items will be automatically deleted af... by samatman on Thursday September 24, 2020 @05:27PM (#24583897)
Direct consequence of Microsoft stealing the paradigm from the Mac, where it has been called the "trash" since 1984.
Re:Google Drive trash items will be automatically deleted af... by zizee on Thursday September 24, 2020 @05:54PM (#24584130)
> Microsoft stealing

The word you are looking for is "copying".

Re:Google Drive trash items will be automatically deleted af... by shajznnckfke on Thursday September 24, 2020 @07:23PM (#24584846)
You can find all sorts of interesting stuff in the recycle bin! The garbage bin is much worse, everything is covered in food waste.
Re:Google Drive trash items will be automatically deleted af... by TulliusCicero on Thursday September 24, 2020 @05:25PM (#24583878)
Probably because "Trash" had already been taken by Mac OS.
Re:Google Drive trash items will be automatically deleted af... by FirstLvR on Thursday September 24, 2020 @05:16PM (#24583765)
am dying of laughter, wtf is wrong with these people
Re:Google Drive trash items will be automatically deleted af... by Barrin92 on Thursday September 24, 2020 @04:50PM (#24583462)
well at least once in my life I had accidentally deleted something important without backing it up (nobody's perfect) and I was glad I could recover it from the trash.

I'd honestly prefer if the policy would at least excempt reasonably small files or textfiles.

Re:Google Drive trash items will be automatically deleted af... by ls612 on Thursday September 24, 2020 @05:05PM (#24583639)
You have 30 days to recognize your mistake still with this new plan