scp permission denied

When transferring files from a server (local) to server (remote), you may encounter permission problem. Recently I had the permission issue with scp . I had the write permission yet…