Enable Personal File Sharing in Ubuntu 10.04

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 files

    The 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 avahi

    mod_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

This entry was posted in Linux and tagged , , . Bookmark the permalink.

30 Responses to Enable Personal File Sharing in Ubuntu 10.04

  1. very high quality and beautiful thanks for sharing everyone who contributed.

  2. Eric says:

    Great! I was playing around with the new Ubuntu today, and saw this. This saves me some time!

  3. JBrandon says:

    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.

  4. Ivan says:

    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-common, which is written in the bug page you linked to.

    Any idea?

  5. macpablodesigns says:

    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.

  6. Ivan says:

    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?

  7. Carl says:

    Thank you so much for the tip.

  8. Alan Weeks says:

    Thank you for notes on networking.

    I would never have thought of adding these files.

  9. Kyle says:

    wonderful blog…keep it up

  10. fthebee says:

    yap this is a marvelous tip, i have been wondering a way of enabling the services
    thanks so much and keep it UP

  11. Gaurav says:

    Thank you!
    Saved me so much time.

  12. Pingback: Compartilhamento de arquivos pessoais – Ubuntu 10.04 « Ronaldo Richieri

  13. swift arrow says:

    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!

  14. macpablodesigns says:

    unfortunately no, nothing that I have found yet.

  15. Grr says:

    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.

  16. humanoid says:

    Agree with Grr. After I’ve done everything as described above, the “Personal File Sharing” doesn’t appear under System>Preferences. Any tips?

  17. humanoid says:

    Solved: “gnome-user-share” also must be installed!

  18. Vijay says:

    Thanks! Really useful!!!

  19. Adam Baroumand says:

    don’t forget one of the easiest and best ways to share files is done through ssh
    explained here:

    a decent thread explaining setup with samba:

  20. Project-Nationalist says:

    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.

  21. tortov says:

    I spent the whole day trying to fix this! thank you so much!

  22. grimneko says:

    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

  23. macpablodesigns says:

    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.

  24. loza says:

    very nice!

  25. Håvar says:

    You will also need the package gnome-user-share on Ubuntu 10.10 and above.

  26. Sancho says:

    Please, update the guide – for ubuntu 10.10 you need to also install package gnome-user-share.

  27. abz says:

    is it necessary to install the “samba”..?

  28. macpablodesigns says:

    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.

  29. 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

  30. 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

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s