User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the *nix Software section within the Tech Talk category of DaniWeb, a massive community of 426,907 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,327 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our *nix Software advertiser: Lunarpages Linux Web Hosting
Views: 11096 | Replies: 8
Reply
Join Date: Feb 2002
Location: Lawn Guylen, NY
Posts: 10,917
Reputation: cscgal is just really nice cscgal is just really nice cscgal is just really nice cscgal is just really nice cscgal is just really nice 
Rep Power: 32
Solved Threads: 118
Admin
Staff Writer
cscgal's Avatar
cscgal cscgal is online now Online
The Queen of DaniWeb

Does Samba send deleted files to a recycle bin?

  #1  
Oct 23rd, 2002
I was just moving some stuff around on my Windows XP machine. So that I wouldn't run out of room moving between partitions, I moved a bunch of stuff to a Samba share on my Linux machine (via My Network Places in WinXP).

I had thought I had moved the files back and deleted them off the Linux box via My Network Places. But -- oops! -- I hadn't finished moving them. Therefore, I lost half my files.

Now my question ... does Linux by any chance put these files in a trash folder or something, or are they gone forever?
AddThis Social Bookmark Button
Reply With Quote  
Join Date: May 2002
Location: Tucson, AZ - formerly LI, NY
Posts: 625
Reputation: aeinstein is just really nice aeinstein is just really nice aeinstein is just really nice aeinstein is just really nice aeinstein is just really nice 
Rep Power: 12
Solved Threads: 8
Colleague
aeinstein's Avatar
aeinstein aeinstein is offline Offline
Team Member - aka kaynine
  #2  
Oct 23rd, 2002
Haven't touched Samba, but here's a support link that may be helpful http://us1.samba.org/samba/support/
Reply With Quote  
Join Date: Feb 2002
Location: Lawn Guylen, NY
Posts: 10,917
Reputation: cscgal is just really nice cscgal is just really nice cscgal is just really nice cscgal is just really nice cscgal is just really nice 
Rep Power: 32
Solved Threads: 118
Admin
Staff Writer
cscgal's Avatar
cscgal cscgal is online now Online
The Queen of DaniWeb
  #3  
Oct 24th, 2002
Hey kaynine, thanx for the reply ... but (unfortunately) I couldnt find the answer anywhere . I ended up reformatting the Linux box last night anyway (so it doesn't even matter anymore).

First thing's first ... those files weren't ultra important b/c they were ... how should I say ... warez

The box was running RedHat 7.3 and I figured I might as well upgrade to Redhat 8 ... so I did an upgrade. But a lot of the underlying structure changed, and it screwed a lot of proggies I already had installed up. So I figured I'd do a nice clean install with RedHat 8.

(I know, I know ... Linux is supposed to last, but, eh ... oh well!)
Reply With Quote  
Join Date: May 2002
Location: Tucson, AZ - formerly LI, NY
Posts: 625
Reputation: aeinstein is just really nice aeinstein is just really nice aeinstein is just really nice aeinstein is just really nice aeinstein is just really nice 
Rep Power: 12
Solved Threads: 8
Colleague
aeinstein's Avatar
aeinstein aeinstein is offline Offline
Team Member - aka kaynine
  #4  
Oct 25th, 2002
Sorry it didn't help you tho.
Reply With Quote  
Join Date: Feb 2002
Location: Lawn Guylen, NY
Posts: 10,917
Reputation: cscgal is just really nice cscgal is just really nice cscgal is just really nice cscgal is just really nice cscgal is just really nice 
Rep Power: 32
Solved Threads: 118
Admin
Staff Writer
cscgal's Avatar
cscgal cscgal is online now Online
The Queen of DaniWeb
  #5  
Oct 25th, 2002
No prob ... I was almost positive they were gone for good anyways. It's a similar scenerio to lets say you use Network Neighborhood to delete files off a remote pc. They are permanently deleted - not in either recycle bin. It was the same thing only the remote pc was a Linux box.

Oh well.

In any case ... I'm just havin' a good ol' time playing around with RedHat 8. Quick question though ... does anyone know why KPackage doesn't come with KDE for RedHat 8? It's included with all previous versions?
Reply With Quote  
Join Date: Feb 2002
Location: New York
Posts: 862
Reputation: Tekmaven is a glorious beacon of light Tekmaven is a glorious beacon of light Tekmaven is a glorious beacon of light Tekmaven is a glorious beacon of light Tekmaven is a glorious beacon of light 
Rep Power: 12
Solved Threads: 17
Moderator
Tekmaven's Avatar
Tekmaven Tekmaven is offline Offline
The C# Man, Myth, Legend
  #6  
Oct 26th, 2002
because redhat8 sucks! hehe
-Ryan Hoffman

ASP.NET Specialist / Webmaster, Extended64.com.
Please do not email or PM me with support questions. Please direct them to the forums instead.
Reply With Quote  
Join Date: Feb 2002
Location: Lawn Guylen, NY
Posts: 10,917
Reputation: cscgal is just really nice cscgal is just really nice cscgal is just really nice cscgal is just really nice cscgal is just really nice 
Rep Power: 32
Solved Threads: 118
Admin
Staff Writer
cscgal's Avatar
cscgal cscgal is online now Online
The Queen of DaniWeb
  #7  
Mar 21st, 2003
This topic took a real weird turn to a debate about RedHat 8, so I split it off into a separate topic entitled "RedHat 8"

http://www.daniweb.com/forums/thread378.html
Reply With Quote  
Join Date: Aug 2003
Location: Jersey - You gotta problem wit dat?
Posts: 334
Reputation: TheOgre has a spectacular aura about TheOgre has a spectacular aura about TheOgre has a spectacular aura about 
Rep Power: 8
Solved Threads: 5
TheOgre's Avatar
TheOgre TheOgre is offline Offline
Posting Whiz

Re: Does Samba send deleted files to a recycle bin?

  #8  
Jan 25th, 2004
Linux doesn't use a "Recycle Bin" when deleting files, including files that are stored in a shared directory using Samba. If you delete files in a shared directory on a *nix machine, they're gone, just as if you typed rm -rf in a shell.

While the later version of 2.x and the newest version (3.01) add an option in smb.conf to include a "Recycle Bin" in the directory, I haven't yet got it to work on either Linux or FreeBSD. (Hey, it's not perfect yet, but they're working on it:)

My suggestion would be to COPY them back to your XP box, then once you're sure you have everything, wipe 'em from the *nix box. This is also good practice, in the event you have a sudden power loss and both boxes shut down (or something along those lines, like the power supply blowing chunks or the motherboard cracking in half) you'll have two copies of the files. Then you can safely remove the unwanted copies.
If you spend more on coffee than on IT security, you will be hacked.
What's more, you deserve to be hacked.
-- former White House cybersecurity czar Richard Clarke
Reply With Quote  
Join Date: Jan 2004
Location: VA, USA
Posts: 459
Reputation: TKS will become famous soon enough TKS will become famous soon enough 
Rep Power: 6
Solved Threads: 17
TKS's Avatar
TKS TKS is offline Offline
Posting Pro in Training

Re: Does Samba send deleted files to a recycle bin?

  #9  
Jan 25th, 2004
No samba does not send anything to a recycle bin. For the main reason that the daemon is running on the linux machine which of course does not have a recycle bin.


What I do is store an image of my hard disk as a backup on a network drive. That way if I ever need to do a reinstall...I can get my files from my backup.
My Home Away from Home: Yet Another Linux Blog
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb *nix Software Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the *nix Software Forum

All times are GMT -4. The time now is 11:21 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC