Summary: | Предлагается убрать из примера в smb.conf ресурс [tmp] | ||
---|---|---|---|
Product: | Sisyphus | Reporter: | Vitaly Lipatov <lav> |
Component: | samba-common | Assignee: | Evgeny Sinelnikov <sin> |
Status: | CLOSED FIXED | QA Contact: | qa-sisyphus |
Severity: | minor | ||
Priority: | P2 | CC: | sin |
Version: | unstable | ||
Hardware: | all | ||
OS: | Linux |
Description
Vitaly Lipatov
2008-05-01 00:38:59 MSD
Лучше не совсем убрать, а модифицировать например так: # 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 в Сизиф. |