JayG30
Contributor
- Joined
- Jun 26, 2013
- Messages
- 158
Hello,
I was testing enabling the Export Recycle Bin setting on an SMB share and found something interesting that I'm not sure if is working by design or perhaps a bug. I'm hoping some other members might be able to confirm. I suspect this is a limitation of the Samba vfs_recycle module.
I map an SMB share in Windows 10. A user accesses that share, create a file, and then deletes it. The hidden .recycle folder is NOT created and the deleted file is not moved to the recycling bin.
If they do the same thing but access the share via UNC path (\\[server]\[sharename]) then the .recycle folder IS created and the deleted file is moved to it.
I map network shares for users during login so this would be a problem.
Thanks
PS: Also, I have a share called "Home" which is where all users personal home folders are automatically generated (via AD). When you have 100's of users it isn't really feasible to have individual "shares" for everyone. There doesn't appear to be any way to get each user their own accessible .recycle folder since vfs_recycle generates it at the "root" of the "share". I don't think there is any solution to this but figured I'd ask just in case someone does now.
I was testing enabling the Export Recycle Bin setting on an SMB share and found something interesting that I'm not sure if is working by design or perhaps a bug. I'm hoping some other members might be able to confirm. I suspect this is a limitation of the Samba vfs_recycle module.
I map an SMB share in Windows 10. A user accesses that share, create a file, and then deletes it. The hidden .recycle folder is NOT created and the deleted file is not moved to the recycling bin.
If they do the same thing but access the share via UNC path (\\[server]\[sharename]) then the .recycle folder IS created and the deleted file is moved to it.
I map network shares for users during login so this would be a problem.
Thanks
PS: Also, I have a share called "Home" which is where all users personal home folders are automatically generated (via AD). When you have 100's of users it isn't really feasible to have individual "shares" for everyone. There doesn't appear to be any way to get each user their own accessible .recycle folder since vfs_recycle generates it at the "root" of the "share". I don't think there is any solution to this but figured I'd ask just in case someone does now.