Bug 31659 - Folder can´t be shared because ´/var/lib/samba/usershare´ does not exist
Summary: Folder can´t be shared because ´/var/lib/samba/usershare´ does not exist
Status: RESOLVED DUPLICATE of bug 30984
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-13 09:40 CET by Ezequiel Partida
Modified: 2023-03-13 10:32 CET (History)
0 users

See Also:
Source RPM:
CVE:
Status comment:


Attachments

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


Note You need to log in before you can comment on or make changes to this bug.