<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>44602</bug_id>
          
          <creation_ts>2022-12-13 12:07:30 +0300</creation_ts>
          <short_desc>Жаль пользователей control-а из пакета samba-usershares</short_desc>
          <delta_ts>2023-09-01 16:39:23 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>samba-usershares</component>
          <version>unstable</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugzilla.altlinux.org/show_bug.cgi?id=44379</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Sergey V Turchin">zerg</reporter>
          <assigned_to name="Evgeny Sinelnikov">sin</assigned_to>
          <cc>antoneot64</cc>
    
    <cc>liannnix</cc>
    
    <cc>rider</cc>
    
    <cc>sin</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>218817</commentid>
    <comment_count>0</comment_count>
    <who name="Sergey V Turchin">zerg</who>
    <bug_when>2022-12-13 12:07:30 +0300</bug_when>
    <thetext>Не многие пользователи пакета samba-usershares поймут, что делать с его control-ами, т.е. из описания это сильно непонятно. Ещё и не по русски.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>218824</commentid>
    <comment_count>1</comment_count>
    <who name="Evgeny Sinelnikov">sin</who>
    <bug_when>2022-12-13 14:04:48 +0300</bug_when>
    <thetext>Что, конкретно, имеется в виду?

$ rpm -ql samba-usershares|grep control|sed &apos;s/.*\///&apos;| while read c; do echo &quot;&gt; $c:&quot;; sudo control $c help; echo; done

&gt; role-sambashare:
enabled: Allow users in group &quot;sambashare&quot; to use samba usershares
default: Allow users in group &quot;sambashare&quot; to use samba usershares if they are in the &quot;users&quot; group
disabled: Disallow users in group &quot;sambashare&quot; to use samba usershares

&gt; role-usershares:
enabled: Privilege group &quot;usershares&quot; assigned to group &quot;users&quot;
disabled: Privilege group &quot;usershares&quot; assigned to users explicitly

&gt; smb-conf-usershare-allow-guests:
disabled: Disable restriction of permit guest access by samba usershares
enabled: Enable restriction of permit guest access by samba usershares
default: Default (disable) restriction of permit guest access by samba usershares

&gt; smb-conf-usershare-allow-list:
enabled: Enable list of permitted directories to be shared by samba usershares
disabled: Disable list of permitted directories to be shared by samba usershares

&gt; smb-conf-usershare-deny-list:
enabled: Enable list of prohibited directories to be shared by samba usershares
disabled: Disable list of prohibited directories to be shared by samba usershares

&gt; smb-conf-usershare-owner-only:
disabled: Disable restriction of only directories owned by the sharing user can be shared by samba usershares
enabled: Enable restriction of only directories owned by the sharing user can be shared by samba usershares
default: Default (enable) restriction of only directories owned by the sharing user can be shared by samba usershares

&gt; smb-conf-usershares:
disabled: Disable smb usershare options
enabled: Enable smb usershare options
default: Disable smb usershare options as default</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>218825</commentid>
    <comment_count>2</comment_count>
    <who name="Sergey V Turchin">zerg</who>
    <bug_when>2022-12-13 14:13:58 +0300</bug_when>
    <thetext>Фразаы типа &quot;Enable restriction&quot; напоминают что-то типа &quot;1+1-1*1:1&quot;

Можно это всё на русский перевести?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>218826</commentid>
    <comment_count>3</comment_count>
    <who name="Evgeny Sinelnikov">sin</who>
    <bug_when>2022-12-13 14:17:16 +0300</bug_when>
    <thetext>(Ответ для Sergey V Turchin на комментарий #2)
&gt; Фразаы типа &quot;Enable restriction&quot; напоминают что-то типа &quot;1+1-1*1:1&quot;
&gt; 
&gt; Можно это всё на русский перевести?

Безусловно, мы же их в ADMX добавим и на wiki описание перенесём.
Честно говоря, меня удивляет, что только эти control&apos;ы сложность должны вызвать.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>218830</commentid>
    <comment_count>4</comment_count>
    <who name="Evgeny Sinelnikov">sin</who>
    <bug_when>2022-12-13 14:27:09 +0300</bug_when>
    <thetext>Ну, тут даже google-переводчик справляется:

&quot;Disable restriction of permit guest access by samba usershares&quot;
&quot;Отключить ограничение разрешенного гостевого доступа пользователями samba&quot;

Ну, и меня предложение и вопрос:
1. критика требуется конструктивная (пока она была, пожелания удовлетворялись);
2. вы другие control&apos;ы видели? Они намного понятнее? Если да, то смотри пункт 1.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>218831</commentid>
    <comment_count>5</comment_count>
    <who name="Sergey V Turchin">zerg</who>
    <bug_when>2022-12-13 14:34:52 +0300</bug_when>
    <thetext>(In reply to Evgeny Sinelnikov from comment #3)
&gt; (Ответ для Sergey V Turchin на комментарий #2)
&gt; &gt; Фразаы типа &quot;Enable restriction&quot; напоминают что-то типа &quot;1+1-1*1:1&quot;
&gt; &gt; Можно это всё на русский перевести?
&gt; Безусловно, мы же их в ADMX добавим и на wiki описание перенесём.
Ты не понял. Тут перевести, чтобы стало понятнее, что именно хотели сказать.
Чтоб поправить и упростить.

&gt; Отключить ограничение разрешенного
(-1)*(-1)*1
Разве нельзя сразу &quot;вычислить&quot;, чтоб не пудрить пользователя?

&gt; вы другие control&apos;ы видели?
Ваши? Не хотелось бы, а то я уже опасаюсь. ;-)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>232324</commentid>
    <comment_count>6</comment_count>
    <who name="Anton Farygin">rider</who>
    <bug_when>2023-09-01 11:44:56 +0300</bug_when>
    <thetext>Непонятно зачем эта ошибка снесена на другого исполнителя.
У нас сейчас из-за этого изменения странная ситуация - есть два дистрибутива на KDE, в которых благодаря этим control&apos;ам разное поведение и в итоге не работает раздача папок после обновления на новую самбу.

https://bugzilla.altlinux.org/47291

Просьба привести поведение к единообразию.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>232367</commentid>
    <comment_count>7</comment_count>
    <who name="Sergey V Turchin">zerg</who>
    <bug_when>2023-09-01 16:36:00 +0300</bug_when>
    <thetext>А можно ли сделать так, чтоб пользователь мог остаться с несломанными ногами, если хочет включить возможность расшаривания самостоятельно?

Например, модуль альтератора со списком пользователей, где сразу:
1. Видно, можно пользователю или нет.
2. Можно включить нужному пользователю.
?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>232368</commentid>
    <comment_count>8</comment_count>
    <who name="Sergey V Turchin">zerg</who>
    <bug_when>2023-09-01 16:36:59 +0300</bug_when>
    <thetext>(Ответ для Sergey V Turchin на комментарий #7)
&gt; 1. Видно, можно пользователю или нет.
&gt; 2. Можно включить нужному пользователю.
3. Чтоб больше ничего там нельзя было настраивать.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>232369</commentid>
    <comment_count>9</comment_count>
    <who name="Sergey V Turchin">zerg</who>
    <bug_when>2023-09-01 16:39:23 +0300</bug_when>
    <thetext>(Ответ для Sergey V Turchin на комментарий #8)
&gt; 3. Чтоб больше ничего там нельзя было настраивать.
Кроме единственной галки &quot;Включить в системе поддержку возможности раздачи&quot;, разве что.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>