Anyone make a recycle bin W/ SMB?

Reply

Join Date: Oct 2004
Posts: 21
Reputation: Ceaser is an unknown quantity at this point 
Solved Threads: 0
Ceaser Ceaser is offline Offline
Newbie Poster

Anyone make a recycle bin W/ SMB?

 
0
  #1
Oct 6th, 2004
I have been reading on making a recycle bin for SMB shares. Anyone utilize this? It would save me the scramble for a tape if the users delete somthing they decide they need. :cheesy: :cheesy:
Reply With Quote Quick reply to this message  
Join Date: Mar 2004
Posts: 1,620
Reputation: kc0arf is a jewel in the rough kc0arf is a jewel in the rough kc0arf is a jewel in the rough 
Solved Threads: 51
Team Colleague
kc0arf kc0arf is offline Offline
Posting Virtuoso

Re: Anyone make a recycle bin W/ SMB?

 
0
  #2
Oct 7th, 2004
Hello,

I am assuming your Samba server is on the Linux box, and you are connecting from Windows over the network.

Storing the files in the Recycle Bin is very dangerous. I would rather train your users to delete only what needs to be deleted. There will always be the need for tapes in society, but you might be able to minimize that though training and education.

You are trying to develop a technical solution to a social problem. That will not work.

Christian
Reply With Quote Quick reply to this message  
Join Date: Dec 2003
Posts: 2,414
Reputation: alc6379 has a spectacular aura about alc6379 has a spectacular aura about alc6379 has a spectacular aura about 
Solved Threads: 123
Team Colleague
alc6379's Avatar
alc6379 alc6379 is offline Offline
Cookie... That's it

Re: Anyone make a recycle bin W/ SMB?

 
0
  #3
Oct 7th, 2004
Originally Posted by kc0arf
You are trying to develop a technical solution to a social problem. That will not work.
Hear Hear!

The next time a user deletes something they needed, just look at them blankly and say, "Why'd you delete it if you needed it?", and then go out for a smoke, or for a coke, whichever suits you best. If you were facilities management, and someone put an important document through a cross-cut paper shredder, you wouldn't be held responsible for trying to recreate their document.

Education and communication is the way to do it. They need to know that deleting it makes the file "be gone". Your backup tapes are for disasters, not user stupidity.
Alex Cavnar, aka alc6379
Reply With Quote Quick reply to this message  
Join Date: Oct 2004
Posts: 21
Reputation: Ceaser is an unknown quantity at this point 
Solved Threads: 0
Ceaser Ceaser is offline Offline
Newbie Poster

Re: Anyone make a recycle bin W/ SMB?

 
0
  #4
Oct 7th, 2004
OK since that won't fit my situation I set it up and if anyone else wants the info I will write out the script.

vfs objects = recycle
recycle:repository = .deleted
recycle:keeptree = yes
recycle:versions = yes
recycle:maxsize = 0
recycle:exclude = *.bak/*.tmp

I also only gave myself access to the Deleted folder. It is going to save me time.

If you don't agree thats cool, but thought it may help out others.
Reply With Quote Quick reply to this message  
Join Date: Dec 2003
Posts: 2,414
Reputation: alc6379 has a spectacular aura about alc6379 has a spectacular aura about alc6379 has a spectacular aura about 
Solved Threads: 123
Team Colleague
alc6379's Avatar
alc6379 alc6379 is offline Offline
Cookie... That's it

Re: Anyone make a recycle bin W/ SMB?

 
0
  #5
Oct 7th, 2004
Originally Posted by Ceaser
OK since that won't fit my situation I set it up and if anyone else wants the info I will write out the script.

vfs objects = recycle
recycle:repository = .deleted
recycle:keeptree = yes
recycle:versions = yes
recycle:maxsize = 0
recycle:exclude = *.bak/*.tmp

I also only gave myself access to the Deleted folder. It is going to save me time.

If you don't agree thats cool, but thought it may help out others.
Good that you post this for reference.

Don't get me wrong, I think that what you're trying to do is very valid, but I just feel like doing this is giving users leeway to do dumb things, and just give you more headaches in the future. I mean, what happens when they go to delete the file, it goes to the Recycle Bin, and then they empty the bin. Whoops! There you go, scurrying for a tape again!

It just reminds me of the old saying: If you make something idiot-proof, they'll build a better idiot.
Alex Cavnar, aka alc6379
Reply With Quote Quick reply to this message  
Join Date: Oct 2004
Posts: 21
Reputation: Ceaser is an unknown quantity at this point 
Solved Threads: 0
Ceaser Ceaser is offline Offline
Newbie Poster

Re: Anyone make a recycle bin W/ SMB?

 
0
  #6
Oct 7th, 2004
Originally Posted by alc6379
Good that you post this for reference.

Don't get me wrong, I think that what you're trying to do is very valid, but I just feel like doing this is giving users leeway to do dumb things, and just give you more headaches in the future. I mean, what happens when they go to delete the file, it goes to the Recycle Bin, and then they empty the bin. Whoops! There you go, scurrying for a tape again!

It just reminds me of the old saying: If you make something idiot-proof, they'll build a better idiot.
They cant get to the .deleted folder they do not have rights to it, so I will be emptying it myself. Actually I will probably make a script that will delete anything that has been in the deleted folder longer then a week. If it happens that I need to use the protection for a particular person more then others even after being taught procedure it will be up to their project manager on the dissaplin they receive.
Reply With Quote Quick reply to this message  
Join Date: Mar 2004
Posts: 1,620
Reputation: kc0arf is a jewel in the rough kc0arf is a jewel in the rough kc0arf is a jewel in the rough 
Solved Threads: 51
Team Colleague
kc0arf kc0arf is offline Offline
Posting Virtuoso

Re: Anyone make a recycle bin W/ SMB?

 
0
  #7
Oct 8th, 2004
Hello,

Thank you for the code on how to work. Did you place this in the smb.conf file? How well is it working for you so far?

Christian
Reply With Quote Quick reply to this message  
Join Date: Oct 2004
Posts: 21
Reputation: Ceaser is an unknown quantity at this point 
Solved Threads: 0
Ceaser Ceaser is offline Offline
Newbie Poster

Re: Anyone make a recycle bin W/ SMB?

 
0
  #8
Oct 9th, 2004
Originally Posted by kc0arf
Hello,

Thank you for the code on how to work. Did you place this in the smb.conf file? How well is it working for you so far?

Christian
Yes it goes in the smb.conf locally for each share that you want to have the bin for. So far it has worked. I have not had any issued but I have it so they can't see it unless they have there boxes to see hidden folders, but even if they have it set they can't get into it no rights :cheesy:

oh well back to the saphire and tonic
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the *nix Software Forum


Views: 5498 | Replies: 7
Thread Tools Search this Thread



Tag cloud for *nix Software
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC