[kdenetwork-filesharing] [Bug 475946] New: Share properties page shows incorrect, bogus error message

Stefan BrĂ¼ns bugzilla_noreply at kde.org
Sun Oct 22 00:31:16 BST 2023


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

            Bug ID: 475946
           Summary: Share properties page shows incorrect, bogus error
                    message
    Classification: Frameworks and Libraries
           Product: kdenetwork-filesharing
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: unassigned-bugs at kde.org
          Reporter: stefan.bruens at rwth-aachen.de
                CC: sitter at kde.org
  Target Milestone: ---

Created attachment 162487
  --> https://bugs.kde.org/attachment.cgi?id=162487&action=edit
Wrong error message

The group manager now checks for a "valid" group name for the usershares, but
gets this awfully wrong.

>From the `net` man page
***
 USERSHARE
...
       To set this up, first set up your /etc/samba/smb.conf by adding to the
[global] section: usershare path = /var/lib/samba/usershares Next create the
directory /var/lib/samba/usershares, change the owner to root and set the group
owner to the UNIX group who should have the ability to create usershares, for
example a group called "serverops". Set the permissions on
/var/lib/samba/usershares to 01770.

Note the example "serverops", which is not accepted, as it does not contain
"samba".

*Any* group should be accepted for the properties page. Notably, there is
nothing which disallows "users" for the usershares group. 

STEPS TO REPRODUCE
Open the properties dialog, share page

OBSERVED RESULT
False error message is shown.

EXPECTED RESULT
Valid configuration is accepted.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma:
KDE Plasma Version: 23.08.02
KDE Frameworks Version: 5.110
Qt Version: 5.15.11

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Unassigned-bugs mailing list