Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Files are being deleted directly instead of being routed to the .deleted folder #452

Open
marius-hi opened this issue Jan 13, 2024 · 0 comments

Comments

@marius-hi
Copy link

Based on the README documentation, it appears that the vfs_recycle module should be enabled by default in Samba docker container. However, when attempting to delete a file from the Samba network shared directory, the files are being deleted directly instead of being moved to the expected .deleted folder. This behavior has been observed while connecting to and deleting files from the network shared directory on both Mac Big Sur and Windows 10 machines

Despite following the recommended steps, including attempting to create the .deleted folder manually, the issue persists. The .deleted folder does not exist, and manually creating it does not yield any difference in the observed behavior.

Given this situation, I am seeking assistance in understanding the root cause of this issue. Could there be a specific reason why the vfs_recycle module is not functioning as expected? Has there been any recent change in the module's behavior or compatibility with the current Samba version? I appreciate any insights or recommendations to address this matter.

smb.conf has the following configuration:

...
vfs objects = catia fruit recycle streams_xattr
recycle:keeptree = yes
recycle:maxsize = 0
recycle:repository = .deleted
recycle:versions = yes
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant