File creation using VI results in a swap file warning
Applies to
- ONTAP 9
- NFS
- NTFS security style
- Linux clients
Issue
File creation using VI results in a swap file warning
E325: ATTENTION
Found a swap file by the name ".fileName.swp"
owned by: root
dated: Tue Jul 20 11:20:15 2021
[cannot be read]
While opening file "testeo"
dated: Tue Jul 20 11:20:24 2021
NEWER than swap
file!
(1) Another program may be editing the same file. If this is the case,
be careful not to end up with two different
instances of the same
file when making changes. Quit, or continue with caution.
(2) An edit session for this file crashed.
If this is the case, use ":recover" or "vim -r fileName"
to recover the changes (see ":help recovery").
If you did this
already, delete the swap file ".testeo.swp"
to avoid this message.
Swap file ".fileName.swp" already exists!
[O]pen Read-Only,
(E)dit anyway, (R)ecover, (D)elete it, (Q)uit, (A)bort: E