Sharing a public folder with another user on the same machine

My Wife and I both have accounts on the same laptop running the latest version of Ubuntu. I have installed kodi and want both of us to be able to access the same music folder - currently my Public folder.
I cannot find a simple way to do this, I have tried changing permissions on the folder but it does not seem to have any effect. Help please.
Brian

Hi brianb

There are several ways to share and I would of thought changing file permissions for the “others” group would of worked.

I have a different method of sharing, a shared partition for pics, music, videos and so on. I have multiple systems running and its less confusing to have one access point (partition) for everyone to everything :slight_smile:

So I would look at options HERE and see if you find something to your liking. If you run into further problems please post back and we will gladly assist.

Maybe someone will chime in and tell us both why file permissions will not work.

And welcome to our forums :slight_smile:

1 Like

Hi @brianb,

please see the following link:

http://kodi.wiki/view/File_sharing

I hope it helps and Happy New Year all!. :smiley:

1 Like

That depends where the folder is, on top of requiring access rights to the file inside, the 'other' users also have to be able to 'walk' the filesystem from the root to inside that folder.

ouroumov@Box:~/Desktop$ sudo adduser randomu
[sudo] password for ouroumov: 
Adding user `randomu' ...
Adding new group `randomu' (1002) ...
Adding new user `randomu' (1002) with group `randomu' ...
Creating home directory `/home/randomu' ...
Copying files from `/etc/skel' ...
Enter new UNIX password: 
Retype new UNIX password: 
passwd: password updated successfully
Changing the user information for randomu
Enter the new value, or press ENTER for the default
    Full Name []: 
    Room Number []: 
    Work Phone []: 
    Home Phone []: 
    Other []: 
Is the information correct? [Y/n] 
ouroumov@Box:~/Desktop$ mkdir SHARE
ouroumov@Box:~/Desktop$ > SHARE/test
ouroumov@Box:~/Desktop$ chmod o+r SHARE/test 
ouroumov@Box:~/Desktop$ su randomu
Password: 
randomu@Box:/home/ouroumov/Desktop$ cat SHARE/test
cat: SHARE/test: Permission denied
randomu@Box:/home/ouroumov/Desktop$ exit
ouroumov@Box:~/Desktop$ chmod o+x SHARE
ouroumov@Box:~/Desktop$ su randomu
Password: 
randomu@Box:/home/ouroumov/Desktop$ cat SHARE/test
cat: SHARE/test: Permission denied
randomu@Box:/home/ouroumov/Desktop$ exit
ouroumov@Box:~/Desktop$ chmod o+x .
ouroumov@Box:~/Desktop$ su randomu
Password: 
randomu@Box:/home/ouroumov/Desktop$ cat SHARE/test
randomu@Box:/home/ouroumov/Desktop$
2 Likes