- Newest
- Most votes
- Most comments
-
Before we launched this feature, the permissions you could assign to individual files and folders in your file share were very limited. You could've changed say the user who own's the file to get read-only or read-write permissions. And now from what you're describing you can assign permissions to different users and groups on those files and folders in your file share.
-
To enable this feature I suggest using the UpdatedSMBFileShare API, pass your file share ARN and SMBACLEnabled: True
https://docs.aws.amazon.com/storagegateway/latest/APIReference/API_UpdateSMBFileShare.html
{
"FileShareArn": "arn:aws:storagegateway:us-east-2:111122223333:share/share-YYYYYYY",
"SMBACLEnabled": "true",
}
In general to run APIs, you will need to get credentials. Details can be found here: https://docs.aws.amazon.com/general/latest/gr/aws-sec-cred-types.html
Hi, You'll be pleased to know that we just launched support for ACLs on the file gateway. So now you can have different folders in your bucket (marketing, common, finance, etc) and use the exported SMB file share after enabling ACLs to set Windows ownership and permissions for individual users and groups (up to 10) on those folders.
Please refer to the announcement for more details and it also points you to the link in our user guide with instructions to enable ACLs: https://forums.aws.amazon.com/ann.jspa?annID=6801
Hi! Thanks @smithaAWS, it's great to know that.
Just for being sure, I want to ask:
a. Without this feature, is it impossible to grant permissions to individual folders on a Bucket using SMB File Gateway joined to domain? I mean, until today it was impossible?
b. Is there any detailed guide for using this feature? I don't know how to access the UpdateSMBFileShare APi.
Thanks so much.
Just applied update-smb-file-share and it's working great.
Now I can assign permissions to my domain users from folder's properties.
I have only one question:
Which is the best way to prevent users (with access to file share) to add permissions for another users? Any user that has access to the file share can modify permissions, even his own permissions.
Thanks you so much.
Relevant content
- asked 22 days ago
- asked a year ago
- asked 3 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated 2 years ago