With the new Ubuntu 10.04, if you want to use or have used personal file sharing with previous versions of Ubuntu and have found that you cannot enable this in the new version… There are a couple of packages that need to be installed in order to enable this in the new version. There is a bug report already filed for this issue Bug #536766, and hopefully there will be a fix for this soon.
The files that you will have to install are:
- apache2.2-bin
Apache HTTP Server common binary filesThe Apache Software Foundation’s goal is to build a secure, efficient and
extensible HTTP server as standards-compliant open source software. The
result has long been the number one web server on the Internet.
- libapache2-mod-dnssd
Zeroconf support for Apache 2 via avahimod_dnssd is an Apache HTTPD module which adds Zeroconf support
via DNS-SD using Avahi. This allows Apache to advertise itself and the
websites available to clients compatible with the protocol.
Install both from the synaptic package manager, and reboot after you have installed. Once you have rebooted the computer, you will be able to enable the personal file sharing for Ubuntu 10.04

very high quality and beautiful thanks for sharing everyone who contributed.
Great! I was playing around with the new Ubuntu today, and saw this. This saves me some time!
Eric
Thanks so much. I have been searching for this for a few hours now, turns out all I needed to do was to narrow my search results to the last month and yours was the first on the list.
it works by the way.
Hi,
Is it necessary to choose Public folder and go with right click to share options, or it have to do it automatically.
I am trying to set up my small office network.
I install the new ubuntu 10.04 today.
Install SAMBA for any folder sharing.
And Try to share in the same time Public Folder with Apache2.
I am going thru your tutorial but in my Windows XP Network Places appear only Samba sharing.
I install
apache2.2-bin
libapache2-mod-dnssd
apache2.2-common, which is written in the bug page you linked to.
Any idea?
Do you have sharing enabled for the xp machines in your network? It should show all of the computers, but they have to have sharing enabled for them to broadcast that they are there.
May be I write too much and you miss my idea. Again 🙂
My XP machine view the ubuntu one. If I choose folder and share it with SAMBA (right button mouse click over folder and go to share context menu) I see the shared folder in my XP machine.
But…I want to share my Public folder without choosing it. I enable Public file share with apache and typing password. And there is not anything in My network Places or Workgroup in XP.
The idea of Public file sharing is to enable sharing only for special folder with name “Public”, isn’t it? Or I miss something?
Thank you so much for the tip.
Thank you for notes on networking.
I would never have thought of adding these files.
wonderful blog…keep it up
yap this is a marvelous tip, i have been wondering a way of enabling the services
thanks so much and keep it UP
Thank you!
Saved me so much time.
Pingback: Compartilhamento de arquivos pessoais – Ubuntu 10.04 « Ronaldo Richieri
Is there any way to do this without installing apache? I’d personally rather *not* have the apache server running all the time in the background!
unfortunately no, nothing that I have found yet.
Yet again, something in Ubuntu doesn’t work out of the box. Surprised? No one is surprised anymore. I’m going back to Windows. As crappy as it is, at least it’s better than Ubuntu.
Agree with Grr. After I’ve done everything as described above, the “Personal File Sharing” doesn’t appear under System>Preferences. Any tips?
Solved: “gnome-user-share” also must be installed!
Thanks! Really useful!!!
don’t forget one of the easiest and best ways to share files is done through ssh
explained here:
http://ubuntuforums.org/showthread.php?t=1567843
a decent thread explaining setup with samba:
http://ubuntuforums.org/showthread.php?t=1502265
Wow, you guys… “Grr” and other members getting upset because it’s not working.
For one, if you follow the steps above and you have Ubuntu 10.04 it should work. If not, then it is possible that you’re doing something wrong or that something is causing the error. why would you just quit using it because of that?
For one, Just because it doesn’t come “out of the box” on Ubuntu and pre-enabled for your specific needs doesn’t mean you can’t enable it (because it’s not that hard). Switching to Windows isn’t going to solve your problem because you still have to set up filesharing on there and then enable media streaming (assuming you’re streaming) through Windows Media Player, as with any other OS. If it’s not working for you, it’s something you missed.
And secondly, that’s a minor issue, for two, there are many many other ways to share files.
MediaTomb is probably the best way to share files over your network if you’re trying to stream, by the way. Turning on filesharing on one system doesn’t necessarily allow another to stream or share the file. That’s a network issue, not an OS issue.
Lastly, Ubuntu sucks in comparison to most other Linux distroes. I don’t know why everyone acts like Ubuntu does or should do it all without anyone lifting a finger. Ubuntu isn’t perfect, and in my opinion, isn’t the best.
I thought it was a good article either way, for what it’s worth.
I spent the whole day trying to fix this! thank you so much!
Thanks man, and on a funny side note: I used this on 11.04 Natty Beta2 to get it working, so seems that they still not fixed that missbehavior. Sad thing,
greetz grimneko
That’s too bad, I was hoping that they would have acknowledged that there should be an easy way of enabling personal file sharing with out having to go online and figure out there is other dependancies that you need to install before you can share files.
very nice!
You will also need the package gnome-user-share on Ubuntu 10.10 and above.
Please, update the guide – for ubuntu 10.10 you need to also install package gnome-user-share.
is it necessary to install the “samba”..?
It is. It’s used for networking within Windows environments, I also noticed that it is needed even in a mac environment for it to function as well.
I really blog too and I’m posting something very similar to this specific article, “Enable Personal File Sharing in Ubuntu 10.
04 | Macpablo’s ramblings”. Do you care in case I actuallyemploy a number of of your personal suggestions? I appreciate it -Opal
How long did it require u to write “Enable Personal File Sharing in Ubuntu 10.
04 | Macpablo’s ramblings”? It provides a bunch of fantastic information. Many thanks ,Milagros