PDA

View Full Version : [ubuntu] where does ubuntu store shared folders (not in smb.conf!)



edoardo
June 19th, 2008, 02:32 PM
Ubuntu 8.04 desktop
I have some folders shared via samba.
They have been set up via right click on the folders in nautilus and using the 'Sharing Options' menu.

I am astonished not to find them in /etc/samba/smb.conf
and even could not find them by doing a find . -exec grep ... in the whole /etc

however these shares are persisted across reboots.
so where the heck is ubuntu saving the shares info ???

edoardo
June 19th, 2008, 05:49 PM
it's /var/lib/samba/usershares

travelinrob
August 8th, 2009, 02:49 AM
Thank you.