The "delete veto files" option in the /etc/samba/smb.conf file is used to specify a list of files or directories that should not be deleted. When a user attempts to delete a file or directory that matches one of the patterns specified in the "delete veto files" option, Samba will prevent the deletion and return an error message to the user.

Here is an example of how to use the "delete veto files" option in the smb.conf file:

[global] delete veto files = /tmp/.tmp/.log/

In this example, any file or directory that matches the pattern "/tmp/.tmp/.log/" will be prevented from being deleted by Samba. This can be useful for preventing accidental deletion of important files or directories

etcsambasmbconf中delete veto files

原文地址: http://www.cveoy.top/t/topic/cP0j 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录