AWS Storage Gateway file share and locking files

720 Views Asked by At

We're investigating our options of using a Storage Gateway file share instead of our own cloud infrastructure.

We're having trouble getting it to work. Our Server side application requires locking files while working with them. So far it seems a NFS share would not be able to do that. When we create a SMB share in AWS we can lock files that are created by the user that mounts the SMB share, but we can't lock other existing files. ICACLS shows that we have RW access to files we create but only RX access to existing files. Is there a way to configure this so that we have RW access to all the files on the SMB share on the storage gateway?

Using ICACLS to modify or take ownership of the files on the SMB share just gives an Access is denied error.

0

There are 0 best solutions below