| | |
Anyone make a recycle bin W/ SMB?
![]() |
•
•
Join Date: Mar 2004
Posts: 1,620
Reputation:
Solved Threads: 51
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
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
•
•
•
•
Originally Posted by kc0arf
You are trying to develop a technical solution to a social problem. That will not work.
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
•
•
Join Date: Oct 2004
Posts: 21
Reputation:
Solved Threads: 0
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.
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.
•
•
•
•
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.
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
•
•
Join Date: Oct 2004
Posts: 21
Reputation:
Solved Threads: 0
•
•
•
•
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.
•
•
Join Date: Oct 2004
Posts: 21
Reputation:
Solved Threads: 0
•
•
•
•
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
oh well back to the saphire and tonic
![]() |
Similar Threads
- A rather exotic recycle bin issue - XP sp2 (Windows NT / 2000 / XP)
- Does Samba send deleted files to a recycle bin? (*nix Software)
Other Threads in the *nix Software Forum
- Previous Thread: smb rights
- Next Thread: UNIX Booting Probelm
Views: 5498 | Replies: 7
| Thread Tools | Search this Thread |
Tag cloud for *nix Software
2005 apache bashscripting busybox cert codeplex debian dotnetnuke emacs forwarding free fsf gaming gnu government gpl lawsuits license linux ls mail make makefile mandriva microsoft mkisofsiso obama open opensource port postfix ps3 samba security server sflc sharing software source stallman subdirectory ubuntu unix vmware xbox






