By using AWS re:Post, you agree to the Terms of Use

"You need permissions to perform this action" copying file to storage gat.


Dear all,
I have a storage gateway file share linked to my Windows server infrastructure.
When I copy a big file in this share after a few minutes the copy process fails with this error:

"You need permission to perform this action"

I'm sure I have permission to that share because with smaller files it works.
What can it be? Is there any session timeout I can adjust?

asked 3 years ago19 views
2 Answers

My name is Brian and I am with the Storage Gateway team.

If this was a timeout for the session in Windows I'd expect more of a semaphore timeout error. Since you mentioned that this is writing for a few minutes then errors out I would rule out Active Directory permissions.

With the behavior described it would sound more like the gateway is denying the write because the cache is full which the gateway would return as an I/O error but some applications may show as permissions.

Can you check the metrics/monitoring tab in the Storage Gateway web console and see what the Cache Percent Dirty metric is at the times you get that error? If it's 90% or greater then it would mean you are writing to the gateway faster than it can upload.

If that is the case you would need to add more cache disk(s) to the gateway (do not modify or remove existing cache disks only add new ones) or increase the amount of bandwidth available to the gateway for uploads.

answered 3 years ago

Thank you Brian, I think you are right. The problem is the cache as I have some dirty cache peeks during those copies.

answered 3 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions