logoalt Hacker News

indigo945today at 9:38 AM3 repliesview on HN

This doesn't really when the CLI tool needs to access any data in your /home. There isn't a straightforward way using standard POSIX tools to share a directory with another user. (Of course it's possible, but it's not easy.)


Replies

WhyNotHugotoday at 12:35 PM

> There isn't a straightforward way using standard POSIX tools to share a directory with another user.

* chmod lets you share with everyone

* addgroup and chown let you share with a specific group of users.

grosswaittoday at 11:22 AM

Then you set up a shared directory with common group permissions

tempfiletoday at 9:47 AM

If the CLI tool needs to access arbitrary data from your home directory, then it is you. There is no security boundary between you and another user with full access to everything you own.

If you want to share specific directories, you can just put the shared directory in a common location, set it to be owned by some group, and make both users a member of that group. I don't see anything not-straightforward in there?

show 1 reply