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

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

    <bug>
          <bug_id>55239</bug_id>
          
          <creation_ts>2025-07-16 13:06:21 +0300</creation_ts>
          <short_desc>thunar: Содержимое удалённой smb-папки обновляется только после локального действия</short_desc>
          <delta_ts>2025-10-09 17:09:48 +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>thunar</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=55240</see_also>
    
    <see_also>https://bugzilla.altlinux.org/show_bug.cgi?id=55338</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>
          <dependson>55238</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Artem Varaksa">varaksaaa</reporter>
          <assigned_to name="Mikhail Efremov">sem</assigned_to>
          <cc>belayaav</cc>
    
    <cc>cas</cc>
    
    <cc>sem</cc>
    
    <cc>sin</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>269222</commentid>
    <comment_count>0</comment_count>
    <who name="Artem Varaksa">varaksaaa</who>
    <bug_when>2025-07-16 13:06:21 +0300</bug_when>
    <thetext>Шаги
====

1. Развернуть Samba DC (ALT Server 11.0 x86_64).

2. Создать сетевую папку (из /etc/samba/smb.conf на DC):

[SHARE]
   comment = Share directory for AD users
   path = /var/share
   public = no
   writable = yes
   read only = no
   guest ok = no
   valid users = &quot;@SAMBA\Domain Users&quot; &quot;@SAMBA\Domain Admins&quot;
   create mask = 0666
   directory mask = 0777
   force create mode = 0666
   force directory mode = 0777
   inherit owner = yes

3. Ввести в домен клиентов ALT Workstation K, Education (KDE), Education (XFCE), Workstation 11.0 x86_64.

4. На клиентах войти доменным пользователем и открыть файловый менеджер (dolphin, thunar, nautilus).

5. В поле пути/адреса ввести smb://dc/share, нажать Enter.

6. При открытой папке в thunar на другой системе выполнить любое изменение: создать папку/файл или др.


Фактический результат
=====================

Содержимое папки не обновляется.

Обновляется только при выполнении любого действия в thunar (появляются и действие, выполненное в thunar, и все другие действия до этого).


Ожидаемый результат
===================

Содержимое папки обновляется сразу / с короткой задержкой, как с локальными папками, или как в dolphin.


Воспроизводимость
=================

Воспроизводится на виртуальных машинах:

[sisyphus]
samba-4.21.7-alt1.x86_64
thunar-4.20.3-alt1.x86_64
(dolphin-25.04.2-alt1.x86_64)
(nautilus-48.3-alt1.x86_64)

[p11+387440]
samba-4.21.7-alt1.x86_64
thunar-4.20.3-alt1.x86_64
(dolphin-24.12.3-alt2.x86_64)
(nautilus-47.2-alt1.x86_64)

[p11]
samba-4.20.8-alt2.x86_64
thunar-4.20.3-alt1.x86_64
(dolphin-24.12.3-alt2.x86_64)
(nautilus-47.2-alt1.x86_64)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>269767</commentid>
    <comment_count>1</comment_count>
    <who name="Artem Varaksa">varaksaaa</who>
    <bug_when>2025-07-24 13:14:22 +0300</bug_when>
    <thetext>Аналогичное поведение, если вместо `smb://dc/share` работать в примонтированной через `pam_mount` папке.

Шаги для монтирования:

#   echo &quot;session         [success=1 default=ignore] pam_succeed_if.so  service = systemd-user quiet&quot; &gt;&gt; /etc/pam.d/system-auth &amp;&amp; \
    echo &quot;session         optional        pam_mount.so disable_interactive&quot;                           &gt;&gt; /etc/pam.d/system-auth &amp;&amp; \
    sed -i &apos;s|&lt;!-- Volume definitions --&gt;|&lt;volume uid=&quot;10000-2000200000&quot; fstype=&quot;cifs&quot; server=&quot;dc&quot; path=&quot;share&quot; mountpoint=&quot;/share&quot; options=&quot;sec=krb5,vers=3.0,cruid=%(USERUID),nounix,uid=%(USERUID),gid=%(USERGID),file_mode=0664,dir_mode=0775&quot; /&gt;|g&apos; /etc/security/pam_mount.conf.xml &amp;&amp; \
    grep volume /etc/security/pam_mount.conf.xml &amp;&amp; \
    reboot

pam_mount-2.18-alt1.x86_64</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>274169</commentid>
    <comment_count>2</comment_count>
    <who name="Белая Алёна">belayaav</who>
    <bug_when>2025-10-09 17:09:48 +0300</bug_when>
    <thetext>Актуально для thunar-4.20.5-alt1</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>