One option is to allow the user to do this automagically. If they've got system-config-samba installed, then the attached script (run as root) will do that. With some PolicyKit magic to do authentication and a suitably nasty "Are you really sure you want to do this? Do you trust all the users on this machine?" message, it might well work...
** Attachment added: "Script to do this automagically" http://launchpadlibrarian.net/38711794/setshare.py -- Folder sharing informative text unclear https://bugs.launchpad.net/bugs/422442 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs