В /etc/samba/smb.conf есть пример # This one is useful for people to share files ;[tmp] ; comment = Temporary file space ; path = /tmp ; read only = no ; public = yes лучше его убрать, чтобы не смущал людей. а) насколько я понимаю, /tmp сейчас делается на tmpfs и вряд ли пригоден для обмена файлами б) некоторые (я например тоже) меняют /tmp на /var/tmp, чем достигают потери важных файлов, причём через несколько недель.
Лучше не совсем убрать, а модифицировать например так: # This one is useful for people to share files ;[simple-share] ; comment = Simple all read/write share ; path = /var/samba/simple-share ; read only = no ; public = yes
В 3.0.29-alt1 немного изменил smb.conf, добавив комментарии о том, что пути в описаниях ресурсов необходимо внимательно проверить перед использованием. В частности, для [tmp] поставил путь в /var/local/share (не существует в штатной системе), соответственно, даже раскомментирование ресурса не приведет к возможности его использования. --- smb.conf.orig 2007-11-16 00:44:30 +0300 +++ smb.conf.rpmnew 2008-05-25 12:47:20 +0400 @@ -37,9 +37,9 @@ # display charset = <locale-specific for an user running client tools> # # This is an example for Russian users: - dos charset = CP866 - unix charset = UTF8 - display charset = LOCALE +; dos charset = CP866 +; unix charset = CP1251 +; display charset = LOCALE # Please note that KOI8-R *does not* contain the NUMERO SIGN (N) which is in CP866 # and therefore there will be problems when unix charset is KOI8-R @@ -307,6 +307,10 @@ #============================ Share Definitions ============================== +# +# NOTE:: Share definitions below are SAMPLE ONLY, you have to check at least PATHS before using them +# +# [homes] comment = Home Directory for '%u' browseable = no @@ -386,9 +390,11 @@ ; writable = yes # This one is useful for people to share files +# Note that you have to specify *correct* path +# the /var/local/share doesn't exist and we use it here to prevent mistakes ;[tmp] ; comment = Temporary file space -; path = /tmp +; path = /var/local/share ; read only = no ; public = yes
Тогда багу можно закрыть?
да, с приходом 3.0.29-alt1 в Сизиф.