Я настроил smb.conf, который хорошо работает для совместного использования каталога, например «samba directory», на моем компьютере с Windows 10. Теперь я хочу скрыть два подкаталога, например. subdir1 и subdir2 в разделе «samba directory», поэтому я добавил «veto files = subdir1, subdir2» в smb.conf, но он не работает, и только subdir2 был скрыт от машины Windows 10. Когда я изменил его на «veto files = subdir1», subdir1 был скрыт от посещения Windows 10. Итак, как скрыть два каталога с моей машины Windows 10? Спасибо!
Неверный синтаксис. Попробуйте:
veto files = /subdir1/subdir2
Из man-страниц:
"veto files = subdir1, subdir2"
This is a list of files and directories that are neither visible
nor accessible. Each entry in the list must be separated by a '/',
which allows spaces to be included in the entry.
Неверный синтаксис. Попробуйте:
veto files = /subdir1/subdir2
Из man-страниц:
"veto files = subdir1, subdir2"
This is a list of files and directories that are neither visible
nor accessible. Each entry in the list must be separated by a '/',
which allows spaces to be included in the entry.