15

I need a shared folder. My wife and I need to exchange files on the same computer. How can we do that?

Zanna
  • 70,465
vrcmr
  • 6,307
  • Never tried but may be the Public folder in the User's home folder would share the stuff system-wide. – Gaurav Butola Nov 24 '10 at 22:01
  • Please subscribe to blueprint on launchpad https://blueprints.launchpad.net/ubuntu/+spec/local-file-share/ – vrcmr Nov 26 '10 at 20:36

3 Answers3

9

Here's a tutorial from Ubuntu Forums: How to create a shared folder for multiple local users.

  1. Install bindfs.

    sudo apt-get install bindfs
    
  2. Create a hidden and a visible directory for the files.

    sudo mkdir /home/.media # create a hidden directory 
    sudo mkdir /home/media  
    
  3. Create a new group.

    sudo groupadd media
    
  4. Add the user(s) to the group.

    sudo gpasswd -a usrname media
    

    Repeat this for all users. Log out and log back in your current user.

  5. Edit the fstab file.

    sudoedit /etc/fstab
    
  6. Add a new entry at the end of the file.

    bindfs#/home/.media    /home/media    fuse    group=media,perms=g=rwx
    
  7. Mount the filesystems mentioned in fstab.

    sudo mount -a
    
  8. Move the files you want to share in the /home/media directory.

karel
  • 114,770
sudobash
  • 1,064
  • bindfs is nice but not suitable for less experienced users as it involves quite a lot of changes to the standard system configuration (e.g. editing of fstab, adding user groups etc.). – Takkat Nov 25 '10 at 07:49
  • 4
    Maybe you should add an excerpt of the page to this answer. – Peter Smit Nov 25 '10 at 08:36
  • I tried this tutorial. But I can't create any files in media folder. – vrcmr Nov 25 '10 at 10:25
0

If you have a constant internet connection and bandwidth is not a problem, then you could use Ubuntu One.

Lightbreeze
  • 1,570
0

bindfs is documented in the Ubuntu wiki:

https://help.ubuntu.com/community/Bindfs-SharedDirectoryLocalUsers

bmaupin
  • 4,930