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

            Bug ID: 463637
           Summary: Unknown parameter 'nolock'
    Classification: Applications
           Product: Smb4k
           Version: unspecified
          Platform: Ubuntu
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: alexander.reinho...@kdemail.net
          Reporter: mi.sel...@hotmail.de
  Target Milestone: ---

SUMMARY

If the option "Smb4KMountSettings::noLocking" in the settings menu of smb4K was
enabled, mounting will not work in Ubuntu.
Cifs will abort with error: "cifs: Unknown parameter 'nolock'"
Smb4k will set the 'nolock' mount option which is an alias of 'nobrl' and has
probably been removed (see comment 4 in
https://bugzilla.redhat.com/show_bug.cgi?id=1944015)

STEPS TO REPRODUCE
1. Open smb4k
2. open settings > Mounting (left side) [Einhängen] > Select 3rd Tab
"additional settings..." (on top) ["Erweiterte Einstellungen zum Einhängen"] 
3. enable option "Use no locking"
4. try to mount some smb network storage

OBSERVED RESULT

- directory will not be mounted
- dmesg will show "cifs: Unknown parameter 'nolock'"

EXPECTED RESULT

- mounted directory with disabled Byte-Range Lock

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Ubuntu 22.10
KDE Plasma Version: 5.26.4
KDE Frameworks Version: 5.100.0
Qt Version: 5.15.6

Kernel: 5.19.0-26-generic
Cifs version: cifs-utils 2:6.14-1.1

ADDITIONAL INFORMATION

The solution will likely be to change the following:

file: core/smb4kmounter.cpp
line: 1222
change: argumentsList << QStringLiteral("nolock");
to: argumentsList << QStringLiteral("nobrl");

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

Reply via email to