title: How to create multiple users with multiple folders with user defined permission in sftp hosted on Azure container instance
body: <p>I'm trying to deploy atmoz sftp images for multiple users. I am new to this technology.</p>
  <p>Below are the points I have tried.</p>
  <ul>
  <li><p>I took the template from GitHub and deployed it on azure and with the help of the template I'm able to create the two users(users1 and users2).</p>
  </li>
  <li><p>For users1 I have created the folder1 and for user2 folder2 and I'm able to see the same structure while login into sftp.</p>
  </li>
  <li><p>For both the folders I have created the different file share.</p>
  </li>
  </ul>
  <p>My requirement is now to show both the folders to both the users but with user defined permission. users1 should have write permission on folder1 and read permission on folder2 and user2 should have write permission on folder2 and only read permission on folder1.</p>
  <p><a href="https://i.stack.imgur.com/qamWi.png" rel="nofollow noreferrer">SFTP login for first user i.e user1</a>
  <a href="https://i.stack.imgur.com/uUB80.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/uUB80.png" alt="SFTP login second user i.e user2" /></a>
  <a href="https://i.stack.imgur.com/O9QF9.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/O9QF9.png" alt="Users page in container" /></a></p>