Comment 44 for bug 212098

Revision history for this message
Thierry Carrez (ttx) wrote :

> It should work without re-login, as at windows and mac. If that OS can do that, also ubuntu should.

It is more a question of security. On windows and mac, all users are authorized to create shares, unless explicitely denied by their admin in some group policy (on Windows). We can do that too, we just have to ship the /var/lib/samba/usershares directiry with a "users" group owner, that way all users are by default authorized to create shares. Then it would be up to the admin to give another group to that directory (i.e. sambashare) if he wants to tighten security more...

But that's not the usual Linux way, as we don't want to give up security for useability. The best fix to get security and useability is to find some way to automagically refresh group membership, that way we fix this bug but also all others where you ahve to restart after being added to a group.