Two accounts on same computer - how can I make a share folder for both?
I need a shared folder. My wife and I need to exchange files on the same computer. How can we do that?
Solution 1:
Here's a tutorial from Ubuntu Forums: How to create a shared folder for multiple local users.
Install bindfs.
sudo apt-get install bindfs
Create a hidden and a visible directory for the files.
sudo mkdir /home/.media # create a hidden directory sudo mkdir /home/media
Create a new group.
sudo groupadd media
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.
Edit the fstab file.
sudoedit /etc/fstab
Add a new entry at the end of the file.
bindfs#/home/.media /home/media fuse group=media,perms=g=rwx
Mount the filesystems mentioned in fstab.
sudo mount -a
Move the files you want to share in the
/home/media
directory.