943,507 Members | Top Members by Rank

Ad:
Oct 23rd, 2002
0

Does Samba send deleted files to a recycle bin?

Expand Post »
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?
Similar Threads
Administrator
Staff Writer
Reputation Points: 1422
Solved Threads: 162
The Queen of DaniWeb
cscgal is offline Offline
13,645 posts
since Feb 2002
Oct 23rd, 2002
0
Re: Does Samba send deleted files to a recycle bin?
Haven't touched Samba, but here's a support link that may be helpful http://us1.samba.org/samba/support/
Team Colleague
Reputation Points: 186
Solved Threads: 8
Team Member - aka kaynine
aeinstein is offline Offline
643 posts
since May 2002
Oct 24th, 2002
0
Re: Does Samba send deleted files to a recycle bin?
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!)
Administrator
Staff Writer
Reputation Points: 1422
Solved Threads: 162
The Queen of DaniWeb
cscgal is offline Offline
13,645 posts
since Feb 2002
Oct 25th, 2002
0
Re: Does Samba send deleted files to a recycle bin?
Sorry it didn't help you tho.
Team Colleague
Reputation Points: 186
Solved Threads: 8
Team Member - aka kaynine
aeinstein is offline Offline
643 posts
since May 2002
Oct 25th, 2002
0
Re: Does Samba send deleted files to a recycle bin?
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?
Administrator
Staff Writer
Reputation Points: 1422
Solved Threads: 162
The Queen of DaniWeb
cscgal is offline Offline
13,645 posts
since Feb 2002
Oct 26th, 2002
0
Re: Does Samba send deleted files to a recycle bin?
because redhat8 sucks! hehe
Moderator
Reputation Points: 322
Solved Threads: 28
The C# Man, Myth, Legend
Tekmaven is offline Offline
914 posts
since Feb 2002
Mar 21st, 2003
0
Re: Does Samba send deleted files to a recycle bin?
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/showthread.php?t=378
Administrator
Staff Writer
Reputation Points: 1422
Solved Threads: 162
The Queen of DaniWeb
cscgal is offline Offline
13,645 posts
since Feb 2002
Jan 25th, 2004
0

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

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.
Reputation Points: 128
Solved Threads: 8
Posting Whiz
TheOgre is offline Offline
390 posts
since Aug 2003
Jan 25th, 2004
0

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

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.
TKS
Reputation Points: 108
Solved Threads: 18
Posting Pro in Training
TKS is offline Offline
470 posts
since Jan 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Linux Applications and Software Forum Timeline: i don't know how to install linux
Next Thread in Linux Applications and Software Forum Timeline: Dual boot xp and RH9...





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC