Comment 44 for bug 32067

Revision history for this message
Ralf Nieuwenhuijsen (ralf-nieuwenhuijsen) wrote : Re: the security parameter must be set to share, not user, in smb.conf - Smb/Gnome sharing broken

@charlie

Yes, it seems the server-client model is one of the tunnel-visions of linux. It does not suit all areas and use-cases well.

Why not add an anonymous user? A guest user.
This user can log in, This user can access all publicly available files of all the other users on the system. This user can connect through samba without a password.

The difference with an ordinary user?
 - home directory is emptied at login & logout
 - sudo rights are not possible

Advantages to having such an account exist by default:
 - easy to temporarily work on another pc
 - a kiosk pc is created by just setting the autologin to this user
 - samba and other types of filesharing can be enabled out of the box

Caveats:
 - new files created by ordinary users should not be world-readable by default
 - it might be wise reword/simply the folder and file permissiosn dialog to just choose between:

    Private - Local - Public - Shared

Where private means only you can read/write.
Local means all real users on this machiene can read/write
Public means all users, including anonymous/guest can read
Shared means all users, including anonymous/guest can read/write

Maybe it would be nice to add a simple 'share public files with this user' option in pidgin as well.
This user could access the same files as the guest account could.

But that is not a bug-fix. That is a specification. Maybe i'll try to write out it out all.
It would fix this bug, and implement the easy-file-sharing spec, etc.