<div dir="ltr">When I try to edit an existing password using vim, when it comes time to save (I enter :w as a vim command) I get a message<div>"/dev/shm/pass.tQVSIzXmX17hI/<wbr>McsB5-test-pass.txt" E212: Cannot open file for writing<br></div><div><br></div><div><br></div><div>"/dev/shm/pass.BrDRETCxY0V0s/<wbr>DlvET-visa...3603.txt" E212: Cannot open file for writing".<div><br></div><div>I'm sure I used to be able to edit passwords, but I can't work out why I can't save to /dev/shm. Does anybody have any ideas?</div><div><br></div><div>Steps to recreate:</div><div><br></div><div>1) pass add test-pass (followed by entering the password twice)</div><div>2) pass show test-pass N.B. works fine and displays password from previous step</div><div>3) pass edit test-pass</div><div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div>opens instance of gvim, so I make a change and :w and I get the error message above.</div></blockquote><div><br></div>Notes:<br><br></div><div><div><ol><li>mount | grep "shm" gives <br>tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)</li><li>df -h | grep shm gives<br>tmpfs                  3.8G  152M  3.7G   4% /dev/shm i.e. we're not out of temp disk space<br></li><li>crontab -e works, so saving to a temporary file seems to work</li><li>with EDITOR set to nano, it seems to work</li></ol><div>Thanks,</div><div>A</div></div></div><div><br></div><div><br></div></div></div>