https://bugs.kde.org/show_bug.cgi?id=484504

            Bug ID: 484504
           Summary: Folder is read-only on SMB mounted share when
                    DOS-attribute is set
    Classification: Applications
           Product: dolphin
           Version: 23.08.4
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: dolphin-bugs-n...@kde.org
          Reporter: sysoe...@surgut.gazprom.ru
                CC: kfm-de...@kde.org
  Target Milestone: ---

Created attachment 167779
  --> https://bugs.kde.org/attachment.cgi?id=167779&action=edit
screenshot

SUMMARY
Regular MS Windows folders like Desktop, Downloads, Documents on have
DOS-attribute READ-ONLY, which has the special meaning, but doesn't mean, that
folder is available for read only (you could see that in KB:
https://support.microsoft.com/en-us/kb/326549).

The issue is when users' Windows home folder is mounted in Linux via SMB from
remote Windows Server (maybe remote Linux could be to, that was not tested).

As folders from mounted share like Desktop have READ-ONLY attribute, you
*CANNOT* create/copy/delete folders or files in these folders in Dolphin -- see
the screenshot: on the left folder test1 HAS read-only attribute, on the right
folder test2 HASN'T read-only attribute.

At the same time you *CAN* do any read-write operations in these READ-ONLY
mounted folders by any other apps, like BASH, or Midnight Commander.

Via smbclient you could see the difference between folders:
smbclient -U sysoevsa '\server.domain\homefolders\sysoevsa'
Password for [DOMAIN\sysoevsa]:
smb: \sysoevsa\> ls
test1 DR 0 Thu Mar 7 10:30:43 2024
test2 D 0 Wed Mar 6 15:19:09 2024

test1 - DR - directory, read only
test2 - D - directory

STEPS TO REPRODUCE
1. Create folder in Windows, set DOS-attribute READ-ONLY -- or use existed
regular folders like Desktop, Documents, Downloads
2. Mount SMB share with this folder with READ-ONLY attribute
3. Try to create folder

OBSERVED RESULT
Cannot create or copy folders or files (look at the left part of the
screenshot)

EXPECTED RESULT
Could create or copy folders or files (look at the right part of the
screenshot)

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: ALT Workstation K 10.3 / KDE 
(available in About System)
KDE Plasma Version: 23.08.4
KDE Frameworks Version: 5.113
Qt Version: 5.15.11

ADDITIONAL INFORMATION
There were some similar bugs:
https://bugs.kde.org/show_bug.cgi?id=370430
https://bugs.kde.org/show_bug.cgi?id=376344
https://bugs.kde.org/show_bug.cgi?id=414482

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to