Read-only directory and Write-only directories

Hi all.
I am trying to create directory using MFS and share it beetwen nodes. The ipfs network that I use is private.
So now I want to create a directories

  1. Inbox - where another nodes can share files but can not read
  2. Outbox - where another users can read but can’t write there

Is it possible ? And how can I do it ?

Not currently. The best you can currently do is to:

  1. Use pubsub to watch/announce changes to outbox folders.
  2. Mount /ipns.
  3. For each peer, symlink /ipns/$OUTBOX to some /inbox directory.