Password-Store Digest, Vol 42, Issue 29

Jonathan Clark ads at whatho.net
Wed Nov 30 12:12:41 CET 2016


Thanks for the help.

Here is the output of ls -ld /dev/shm:
drwxrwxrwt 2 root root 220 Nov 30 11:10 /dev/shm

Looks ok to me. Still baffled.

On 30 November 2016 at 11:00, <password-store-request at lists.zx2c4.com>
wrote:

> Send Password-Store mailing list submissions to
>         password-store at lists.zx2c4.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         https://lists.zx2c4.com/mailman/listinfo/password-store
> or, via email, send a message with subject or body 'help' to
>         password-store-request at lists.zx2c4.com
>
> You can reach the person managing the list at
>         password-store-owner at lists.zx2c4.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Password-Store digest..."
>
>
> Today's Topics:
>
>    1. Cannot edit existing password using vim (or gvim) (Jonathan Clark)
>    2. Re: Cannot edit existing password using vim (or gvim)
>       (Renato Alves)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 29 Nov 2016 17:13:21 +0000
> From: Jonathan Clark <ads at whatho.net>
> To: password-store at lists.zx2c4.com
> Subject: Cannot edit existing password using vim (or gvim)
> Message-ID:
>         <CAHPvVMY1K99_zeGw3NmbSL1YLDPX53WsnxhdTKN_H+
> 4PyhnEfA at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> 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
> "/dev/shm/pass.tQVSIzXmX17hI/McsB5-test-pass.txt" E212: Cannot open file
> for writing
>
>
> "/dev/shm/pass.BrDRETCxY0V0s/DlvET-visa...3603.txt" E212: Cannot open file
> for writing".
>
> 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?
>
> Steps to recreate:
>
> 1) pass add test-pass (followed by entering the password twice)
> 2) pass show test-pass N.B. works fine and displays password from previous
> step
> 3) pass edit test-pass
>
> opens instance of gvim, so I make a change and :w and I get the error
> message above.
>
>
> Notes:
>
>
>    1. mount | grep "shm" gives
>    tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
>    2. df -h | grep shm gives
>    tmpfs                  3.8G  152M  3.7G   4% /dev/shm i.e. we're not out
>    of temp disk space
>    3. crontab -e works, so saving to a temporary file seems to work
>    4. with EDITOR set to nano, it seems to work
>
> Thanks,
> A
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.zx2c4.com/pipermail/password-store/
> attachments/20161129/2af0330c/attachment-0001.html>
>
> ------------------------------
>
> Message: 2
> Date: Tue, 29 Nov 2016 18:51:48 +0100
> From: Renato Alves <alves.rjc at gmail.com>
> To: password-store at lists.zx2c4.com
> Subject: Re: Cannot edit existing password using vim (or gvim)
> Message-ID: <2a99a911-931e-047d-ec5d-8d11c9cee0c9 at gmail.com>
> Content-Type: text/plain; charset="windows-1252"
>
> Most likely permissions. Try: ls -ld /dev/shm
>
>
>
> On 29/11/16 18:13, Jonathan Clark wrote:
> > 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
> > "/dev/shm/pass.tQVSIzXmX17hI/McsB5-test-pass.txt" E212: Cannot open
> file for writing
> >
> >
> > "/dev/shm/pass.BrDRETCxY0V0s/DlvET-visa...3603.txt" E212: Cannot open
> file for writing".
> >
> > 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?
> >
> > Steps to recreate:
> >
> > 1) pass add test-pass (followed by entering the password twice)
> > 2) pass show test-pass N.B. works fine and displays password from
> previous step
> > 3) pass edit test-pass
> >
> >     opens instance of gvim, so I make a change and :w and I get the
> error message above.
> >
> >
> > Notes:
> >
> >  1. mount | grep "shm" gives
> >     tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
> >  2. df -h | grep shm gives
> >     tmpfs                  3.8G  152M  3.7G   4% /dev/shm i.e. we're not
> out of temp disk space
> >  3. crontab -e works, so saving to a temporary file seems to work
> >  4. with EDITOR set to nano, it seems to work
> >
> > Thanks,
> > A
> >
> >
> >
> >
> > _______________________________________________
> > Password-Store mailing list
> > Password-Store at lists.zx2c4.com
> > https://lists.zx2c4.com/mailman/listinfo/password-store
> >
>
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: signature.asc
> Type: application/pgp-signature
> Size: 801 bytes
> Desc: OpenPGP digital signature
> URL: <http://lists.zx2c4.com/pipermail/password-store/
> attachments/20161129/14c53d23/attachment-0001.asc>
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> Password-Store mailing list
> Password-Store at lists.zx2c4.com
> https://lists.zx2c4.com/mailman/listinfo/password-store
>
>
> ------------------------------
>
> End of Password-Store Digest, Vol 42, Issue 29
> **********************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.zx2c4.com/pipermail/password-store/attachments/20161130/fe776d3b/attachment.html>


More information about the Password-Store mailing list