Introduction
This is a simple use case - User 1 needs to give a 3rd party access to a folder on OIC File Server.
User 1 is an OIC Admin and the 3rd party will use sFTP to push files to OIC File Server.
First step is the activate user 1 for File Server and generate keys -
ssh-keygen -t ed25519 -C "OICTraining-FileServer"
Here's a screenshot -
Here are the files created - I'll rename the one with type MSFT Publisher to OICTrainingFileServerPub as this is the public key.Now to OIC File Server - upload the public key -
I create a folder, boscaIsteach (inbox in Gaelic) in my home directory -As already mentioned, I need to give a 3rd party access to this folder, so I create a user for this 3rd party in IAM.In the real world, this user would also have its key pair - so I generate them -
Back in OIC File Server - I locate this new user -
Regarding permissions for it's home folder - I have to give at least one permission - so I go for List - and also click Do not inherit.
I try to upload a file - Try uploading to /home/users/niall.commiskey@oracle.com/boscaIsteachFile transfer was successful, but, note, I don't see a list of the files in this folder, as I don't have the list permission assigned.
I try to create a new sub-folder in /boscaIsteach -That too is denied.
Net, net all I can do is upload files.
Naturally, one could create an IAM group, if you have multiple 3rd parties pushing files to OIC File Server. Then assign folder permissions to the group.





















No comments:
Post a Comment