Bug 467176 - Systemd-homed users can't share folders
Summary: Systemd-homed users can't share folders
Status: RESOLVED WORKSFORME
Alias: None
Product: kdenetwork-filesharing
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs
URL:
Keywords:
: 498428 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-03-10 22:28 UTC by Tobias G.
Modified: 2025-02-09 03:47 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.