Bug 31659

Summary: Folder can´t be shared because ´/var/lib/samba/usershare´ does not exist
Product: Mageia Reporter: Ezequiel Partida <ezequiel_partida>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: Normal    
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: CVE:
Status comment:

Description Ezequiel Partida 2023-03-13 09:40:24 CET
Hello,

I open ticket https://bugs.mageia.org/show_bug.cgi?id=30984 but I did not responded quickly, I reply last week with no response on this.


On the folders share tab I got the next error.

This Folder can´t be shared because ´/var/lib/samba/usershare´ does not exist.
This error is caused by your distro not setting up Samba Sharing properly. You can fx it yourself by creating that folder manually. Then close and re-open this windows.

So I created the usershare folder.

So then I got.

This folder can´t be shared because ´/var/lib/samba/usershares´ has its group owner inappropriately set to "root"

So what I changed the group owner to samba with chgrp samba usershares

Now with every test user I get the next error.

This folder can´t be shared because your user account isn´t a member of the "samba" group.

You can fix this bu makin your user a member of that group. Then restart the system.

But this time it gives me an option "Make me a Group Member"

So you probably will have to create this folder with samba group membership on the next iso?:
Comment 1 sturmvogel 2023-03-13 10:32:07 CET
Why creating a duplicate bug?

*** This bug has been marked as a duplicate of bug 30984 ***

Resolution: (none) => DUPLICATE
Status: NEW => RESOLVED