Share folders and desktop items across users

I have 3 users on my pi. I'd like to share certain files and folders to certain users. How do I do this?

1 Like

Welcome @privatedev11 to the community!

Welcome @privatedev11! I'm not sure how you mean for these users to access the files and folders, but perhaps an easy, basic way would be to create a directory (e.g. /localfiles) and grant read-write permissions to everyone ( chmod -R 0777 /localfiles).

You might consider creating a group (e.g. sudo groupadd localusers) and adding these users to the group (sudo usermod -aG localusers <username>). Then set the approriate read-write-execute permissions on the folder and its sub-contents to the group.

Just a couple of simple suggestions.

3 Likes