I don't see what's wrong either. Looks fine to me. Have you tried creating a 
file manually there?


On 30/11/16 12:12, Jonathan Clark wrote:
> 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, <[email protected] 
> <mailto:[email protected]>> wrote:
> 
>     Send Password-Store mailing list submissions to
>             [email protected] 
> <mailto:[email protected]>
> 
>     To subscribe or unsubscribe via the World Wide Web, visit
>             https://lists.zx2c4.com/mailman/listinfo/password-store 
> <https://lists.zx2c4.com/mailman/listinfo/password-store>
>     or, via email, send a message with subject or body 'help' to
>             [email protected] 
> <mailto:[email protected]>
> 
>     You can reach the person managing the list at
>             [email protected] 
> <mailto:[email protected]>
> 
>     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 <[email protected] <mailto:[email protected]>>
>     To: [email protected] <mailto:[email protected]>
>     Subject: Cannot edit existing password using vim (or gvim)
>     Message-ID:
>             
> <cahpvvmy1k99_zegw3nmbsl1yldpx53wsnxhdtkn_h+4pyhn...@mail.gmail.com 
> <mailto:cahpvvmy1k99_zegw3nmbsl1yldpx53wsnxhdtkn_h%[email protected]>>
>     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
>  
> <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 <[email protected] <mailto:[email protected]>>
>     To: [email protected] <mailto:[email protected]>
>     Subject: Re: Cannot edit existing password using vim (or gvim)
>     Message-ID: <[email protected] 
> <mailto:[email protected]>>
>     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
>     > [email protected] <mailto:[email protected]>
>     > https://lists.zx2c4.com/mailman/listinfo/password-store 
> <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
>  
> <http://lists.zx2c4.com/pipermail/password-store/attachments/20161129/14c53d23/attachment-0001.asc>>
> 
>     ------------------------------
> 
>     Subject: Digest Footer
> 
>     _______________________________________________
>     Password-Store mailing list
>     [email protected] <mailto:[email protected]>
>     https://lists.zx2c4.com/mailman/listinfo/password-store 
> <https://lists.zx2c4.com/mailman/listinfo/password-store>
> 
> 
>     ------------------------------
> 
>     End of Password-Store Digest, Vol 42, Issue 29
>     **********************************************
> 
> 
> 
> 
> _______________________________________________
> Password-Store mailing list
> [email protected]
> https://lists.zx2c4.com/mailman/listinfo/password-store
> 

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Password-Store mailing list
[email protected]
https://lists.zx2c4.com/mailman/listinfo/password-store

Reply via email to