Bug 467176

Summary: Systemd-homed users can't share folders
Product: [Frameworks and Libraries] kdenetwork-filesharing Reporter: Tobias G. <kde-bugzilla.oink169>
Component: generalAssignee: Unassigned bugs <unassigned-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: dolphin-bugs-null, matthias.ziehm, nate, sitter
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=498428
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Tobias G. 2023-03-10 22:28:08 UTC
SUMMARY
When being logged in as systemd-homed user, one is not able to share folders. While the tab appears in the properties window of a folder, the window remains empty and doesn't show any information.
The terminal logs the following error:
PermissionsHelper::reload() failed: current user is null
qrc:/org.kde.filesharing.samba/qml/main.qml:39: TypeError: Cannot read property 'inSamba' of null

When using a non-systemd-homed user, it works as expected.

STEPS TO REPRODUCE
1.  create systemd-homed user
2. log in with it
3. try to share a folder with dolphin

OBSERVED RESULT
The share tab is empty

EXPECTED RESULT
the share tab offers options to share the folder

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Should additional information be required, I'd be happy to provide them :)
Comment 1 Nate Graham 2025-01-09 17:10:51 UTC
*** Bug 498428 has been marked as a duplicate of this bug. ***
Comment 2 Harald Sitter 2025-01-10 10:56:52 UTC
What's the content of /etc/nsswitch.conf
Comment 3 Bug Janitor Service 2025-01-25 03:47:03 UTC
๐Ÿ›๐Ÿงน โš ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bug Janitor Service 2025-02-09 03:47:10 UTC
๐Ÿ›๐Ÿงน This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.