Trying to change path to snapshots

I m trying to change location for snapshots.
This is a "imported" site using snapshot . I have changed url using a search and replace plugin.
When I change location I see a message stating location was saved, but it does not change the current location (/) and it gives an error about write permissions.

access granted.