<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>510567</bug_id>
          
          <creation_ts>2025-10-13 15:39:40 +0000</creation_ts>
          <short_desc>Pasting into smb share fails (access denied could not write to smb)</short_desc>
          <delta_ts>2025-10-31 00:10:34 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>Frameworks and Libraries</classification>
          <product>frameworks-kio</product>
          <component>general</component>
          <version>6.19.0</version>
          <rep_platform>Fedora RPMs</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>regression</keywords>
          <priority>VHI</priority>
          <bug_severity>grave</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Soup">okemartin</reporter>
          <assigned_to name="KIO Bugs">kio-bugs-null</assigned_to>
          <cc>akselmo</cc>
    
    <cc>astueben</cc>
    
    <cc>bugs.kde.org.crop588</cc>
    
    <cc>clintre</cc>
    
    <cc>fabianodi2</cc>
    
    <cc>gambit007</cc>
    
    <cc>giulio</cc>
    
    <cc>jeremy.leland</cc>
    
    <cc>joaquim.monteiro</cc>
    
    <cc>jonagutkin</cc>
    
    <cc>jrmorefield</cc>
    
    <cc>julien.dlq</cc>
    
    <cc>kdedev</cc>
    
    <cc>kdelibs-bugs-null</cc>
    
    <cc>MangaSketch</cc>
    
    <cc>meven</cc>
    
    <cc>michael.or1</cc>
    
    <cc>nate</cc>
    
    <cc>nicolas.fella</cc>
    
    <cc>niki</cc>
    
    <cc>okemartin</cc>
    
    <cc>onefreshfish</cc>
    
    <cc>saltserverr</cc>
    
    <cc>schmidtp0908</cc>
    
    <cc>sitter</cc>
    
    <cc>social.calamari468</cc>
          
          <cf_commitlink>https://invent.kde.org/frameworks/kio/-/commit/1a4d206885fa398f5ee5d4cf69515fe826d024be</cf_commitlink>
          <cf_versionfixedin>6.19.1</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2461620</commentid>
    <comment_count>0</comment_count>
    <who name="Soup">okemartin</who>
    <bug_when>2025-10-13 15:39:40 +0000</bug_when>
    <thetext>Ever since upgrading to the newest version of kio (kio-6.19.0-1) / kio-extras (kio-extras-25.08.2-1) pasting a file onto an SMB Share in dolphin doesn&apos;t work anymore


STEPS TO REPRODUCE
1. Copy a file
2. Open the SMB Share in dolphin
3. Paste

OBSERVED RESULT
When pasting a file dolphin says &quot;access denied could not write to smb&quot;

EXPECTED RESULT
File gets pasted without errors

Linux/KDE Plasma: EndeavourOS
KDE Plasma Version: 6.4.5
KDE Frameworks Version: 6.19.0
Qt Version: 6.10.0

ADDITIONAL INFORMATION
Works again after downgrading kio to kio-6.18.0-1 and/or kio-extras to kio-extras-25.08.1-2
The share is hosted on a raspberrypi 5 and can be accessed when downgrading</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2461622</commentid>
    <comment_count>1</comment_count>
    <who name="Harald Sitter">sitter</who>
    <bug_when>2025-10-13 15:43:42 +0000</bug_when>
    <thetext>There were no smb changes in that version of kio-extras</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2461750</commentid>
    <comment_count>2</comment_count>
    <who name="Mara Johnson">gambit007</who>
    <bug_when>2025-10-13 23:33:04 +0000</bug_when>
    <thetext>Experience the same issue. I could create a folder or text file, but move/copy/paste resulted in access denied errors.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2461770</commentid>
    <comment_count>3</comment_count>
    <who name="Fabiano">fabianodi2</who>
    <bug_when>2025-10-14 06:38:17 +0000</bug_when>
    <thetext>I can confirm this issue on Arch Linux with KDE Frameworks 6.19.

In my case, the problem also occurs when using kioclient directly, not only in Dolphin.
Example command and output:

$ kioclient copy -v smb://&lt;user&gt;@&lt;nas&gt;/shared-folder/test.txt smb://&lt;user&gt;@&lt;nas&gt;/shared-folder/test
kioclient 6.4.5
QThreadStorage: entry 8 destroyed before end of thread 0x55e1f558dc90
QThreadStorage: entry 1 destroyed before end of thread 0x55e1f558dc90
QThreadStorage: entry 0 destroyed before end of thread 0x55e1f558dc90

No file is copied, and Dolphin shows “Access denied” when pasting to the same share.
Restoring the system to Frameworks 6.18 immediately fixes the problem.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2461777</commentid>
    <comment_count>4</comment_count>
    <who name="Niki">niki</who>
    <bug_when>2025-10-14 07:29:31 +0000</bug_when>
    <thetext>Can confirm this issue affects file moves copying and pasting files, but still lets you create text files and folders</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2461793</commentid>
    <comment_count>5</comment_count>
    <who name="Akseli Lahtinen">akselmo</who>
    <bug_when>2025-10-14 08:26:55 +0000</bug_when>
    <thetext>Can confirm the issue

Operating System: Fedora Linux 42
KDE Plasma Version: 6.5.80
KDE Frameworks Version: 6.19.0
Qt Version: 6.9.2
Kernel Version: 6.16.11-200.fc42.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 3600 6-Core Processor
Memory: 16 GiB of RAM (15.5 GiB usable)
Graphics Processor: AMD Radeon RX 6600</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2461797</commentid>
    <comment_count>6</comment_count>
    <who name="Julian Pollak">bugs.kde.org.crop588</who>
    <bug_when>2025-10-14 09:00:36 +0000</bug_when>
    <thetext>I can confirm. Create/delete still works.

Additional note:
Using kio-fuse and navigating the share using a terminal still allows all permitted actions as expected.

Associated forum post: https://discuss.kde.org/t/kde-frameworks-6-19-with-smb-mounted-dolphin-cannot-copy-or-rename-files/40566</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2461801</commentid>
    <comment_count>7</comment_count>
    <who name="Akseli Lahtinen">akselmo</who>
    <bug_when>2025-10-14 09:05:08 +0000</bug_when>
    <thetext>Did git bisect, looks like it was broken in https://invent.kde.org/frameworks/kio/-/commit/15fff1b8592648f11f20a303c8f82d61d3f19584</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2461803</commentid>
    <comment_count>8</comment_count>
    <who name="Nicolas Fella">nicolas.fella</who>
    <bug_when>2025-10-14 09:12:29 +0000</bug_when>
    <thetext>likely a similar issue to https://bugs.kde.org/show_bug.cgi?id=510456</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2461812</commentid>
    <comment_count>9</comment_count>
    <who name="Bug Janitor Service">bug-janitor</who>
    <bug_when>2025-10-14 09:44:18 +0000</bug_when>
    <thetext>A possibly relevant merge request was started @ https://invent.kde.org/network/kio-extras/-/merge_requests/473</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2461818</commentid>
    <comment_count>10</comment_count>
    <who name="Bug Janitor Service">bug-janitor</who>
    <bug_when>2025-10-14 10:14:58 +0000</bug_when>
    <thetext>A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kio/-/merge_requests/2022</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2461828</commentid>
    <comment_count>11</comment_count>
    <who name="Julian Pollak">bugs.kde.org.crop588</who>
    <bug_when>2025-10-14 10:57:46 +0000</bug_when>
    <thetext>Can confirm MR 2022 fixes this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2461845</commentid>
    <comment_count>12</comment_count>
    <who name="">jonagutkin</who>
    <bug_when>2025-10-14 12:14:22 +0000</bug_when>
    <thetext>same here on CachyOS 

here my OS spec : 

OS: CachyOS x86_64 
Kernel: 6.17.1-2-cachyos 
WM: kwin_wayland_wr 
Terminal: konsole 

with Synology for me, 
the folder are connected with &quot;smb:[...]/[...]</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2461908</commentid>
    <comment_count>13</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2025-10-14 15:45:13 +0000</bug_when>
    <thetext>*** Bug 510556 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2462006</commentid>
    <comment_count>14</comment_count>
    <who name="Quant">michael.or1</who>
    <bug_when>2025-10-14 19:54:04 +0000</bug_when>
    <thetext>Exactly same bug here.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2462071</commentid>
    <comment_count>15</comment_count>
    <who name="Clint Eschberger">clintre</who>
    <bug_when>2025-10-15 04:31:06 +0000</bug_when>
    <thetext>Can also confirm.
Solus with Kernel 6.16.12
Plasma 6.4.5, Frameworks 6.19.0

Connecting to existing share that has been used for a long period on multiple machines. Attempted to recreate the connection and can not create new file or paste new file via Dolphin.

I can open the terminal and create new file in the share.
I can open a document on the share and edit contents and save successfully.
But I cannot create or paste a file on the same share.

I have also tested on a separate system with EndeavourOS that also has the new Framworks version, and the same issue exists.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2462080</commentid>
    <comment_count>16</comment_count>
    <who name="edvans">astueben</who>
    <bug_when>2025-10-15 06:04:21 +0000</bug_when>
    <thetext>Can confirm on Fedora 42. 
Last update did the same as reported.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2462135</commentid>
    <comment_count>17</comment_count>
    <who name="Antonio Rojas">arojas</who>
    <bug_when>2025-10-15 10:04:26 +0000</bug_when>
    <thetext>*** Bug 510630 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2462137</commentid>
    <comment_count>18</comment_count>
    <who name="Antonio Rojas">arojas</who>
    <bug_when>2025-10-15 10:04:44 +0000</bug_when>
    <thetext>*** Bug 510635 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2462161</commentid>
    <comment_count>19</comment_count>
    <who name="Akseli Lahtinen">akselmo</who>
    <bug_when>2025-10-15 11:08:14 +0000</bug_when>
    <thetext>Git commit bcc840654fa2af68a4942fba6f58b2955e80e7ec by Akseli Lahtinen.
Committed on 15/10/2025 at 09:34.
Pushed by akselmo into branch &apos;master&apos;.

CopyJob: Skip permission check if there is no UDS_ACCESS entry

Lack of UDS_ACCESS or S_IWUSR flag in it does *not* mean
that the item is definitely unwritable.

The access can be indefinite until the item is
actually worked with.

KIO should not assume that items are unwritable,
even if we lack the flag. We should just try working
with the file and handle the results, not try
pre-emptively decide the actions.

M  +12   -9    src/core/copyjob.cpp

https://invent.kde.org/frameworks/kio/-/commit/bcc840654fa2af68a4942fba6f58b2955e80e7ec</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2462246</commentid>
    <comment_count>20</comment_count>
    <who name="Patrick Silva">bugseforuns</who>
    <bug_when>2025-10-15 16:42:57 +0000</bug_when>
    <thetext>*** Bug 510645 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2462442</commentid>
    <comment_count>21</comment_count>
    <who name="Bug Janitor Service">bug-janitor</who>
    <bug_when>2025-10-16 12:52:27 +0000</bug_when>
    <thetext>A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kio/-/merge_requests/2024</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2462480</commentid>
    <comment_count>22</comment_count>
    <who name="">jonagutkin</who>
    <bug_when>2025-10-16 17:30:28 +0000</bug_when>
    <thetext>16/10/2025
19H30 (BE/Europe)

it&apos;s work !! :D 
Thx !</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2462504</commentid>
    <comment_count>23</comment_count>
    <who name="Nicolas Fella">nicolas.fella</who>
    <bug_when>2025-10-16 19:45:27 +0000</bug_when>
    <thetext>Git commit 1a4d206885fa398f5ee5d4cf69515fe826d024be by Nicolas Fella, on behalf of Akseli Lahtinen.
Committed on 16/10/2025 at 19:38.
Pushed by nicolasfella into branch &apos;Frameworks/6.19&apos;.

CopyJob: Skip permission check if there is no UDS_ACCESS entry

Lack of UDS_ACCESS or S_IWUSR flag in it does *not* mean
that the item is definitely unwritable.

The access can be indefinite until the item is
actually worked with.

KIO should not assume that items are unwritable,
even if we lack the flag. We should just try working
with the file and handle the results, not try
pre-emptively decide the actions.
(cherry picked from commit bcc840654fa2af68a4942fba6f58b2955e80e7ec)

M  +12   -9    src/core/copyjob.cpp

https://invent.kde.org/frameworks/kio/-/commit/1a4d206885fa398f5ee5d4cf69515fe826d024be</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2462518</commentid>
    <comment_count>24</comment_count>
    <who name="Antonio Rojas">arojas</who>
    <bug_when>2025-10-16 20:18:12 +0000</bug_when>
    <thetext>*** Bug 510690 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2463776</commentid>
    <comment_count>25</comment_count>
    <who name="Méven">meven</who>
    <bug_when>2025-10-22 07:58:47 +0000</bug_when>
    <thetext>Git commit 5749cd0812038a489682260c19b62ce340b61393 by Méven Car, on behalf of Akseli Lahtinen.
Committed on 22/10/2025 at 07:58.
Pushed by meven into branch &apos;master&apos;.

JobTest: add renameFileWithNoUDSACCESS test

This test ensures the CopyJob continues working even if there
is no UDS_ACCESS entry in the item during statting.

M  +73   -0    autotests/jobtest.cpp
M  +2    -0    autotests/jobtest.h

https://invent.kde.org/frameworks/kio/-/commit/5749cd0812038a489682260c19b62ce340b61393</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2465487</commentid>
    <comment_count>26</comment_count>
    <who name="Antonio Rojas">arojas</who>
    <bug_when>2025-10-27 11:39:18 +0000</bug_when>
    <thetext>*** Bug 511203 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>