Hi Sumit Gaur
I am documenting the steps needed to assign ACL for local users for respective directories as you needed
- Create an admin user first to assign the ACL for App1 and App2. For example admin1. containerA as the home directory
- Allow all permissions to the admin user as below:
- Get the connection string for the admin user like below:
- Connect sftp with the admin user as below:
Use the password copied during the admin user creation
- Now, the admin user can list the folders for App1 and App2 using ls command, like below:
- Now admin user has to take ownership of all directories using the command
chmod 001 .
- As the next step, admin user can start assigning ownership permissions to users on respective folders as below. Note that the ownership permissions are assigned to the corresponding user id . 1000 and 1001 are my user ids
chown 1000 fold1
chown 1001 fold1
- Now we are set with the ACL for the users on required folders.
- You may test it by connecting the sftp for corresponding users
Hope the above steps will help to work out on assigning the required permissions
Hope this helps.
--please don't forget to upvote
and Accept as answer
if the reply is helpful--