.gislock and permission den

You can't create the .gislock file with the vi.
You should revise your right to the directory.
The supervisor su or root should change your
rights. I'm sure the problem is in system not in grass.

                            BRGRDS Romek