<div dir="ltr">Maybe it should not allow to create a directory with the same name as a file (or vice-versa). This does not sound normal.<div><br></div><div>Meanwhile, as a workaround, you can rename the file and then delete it.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 4, 2016 at 9:55 PM, <span dir="ltr"><<a href="mailto:the_jinx@etv.cx" target="_blank">the_jinx@etv.cx</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
A QtPass user found an interesting bug or quirk in pass.<br>
<a href="https://github.com/IJHack/qtpass/issues/159" rel="noreferrer" target="_blank">https://github.com/IJHack/qtpass/issues/159</a><br>
<br>
Here is what happens when you create a password file and folder with the same name.<br>
<br>
$ pass add test-159<br>
I enter "test”<br>
$ pass add test-159/test<br>
I enter "test 2”<br>
$ pass test-159<br>
It returns "test”<br>
$ pass rm test-159<br>
rm: /home/annejan/.password-store/test-159: is a directory<br>
<br>
I also tested order of creation (first folder or first file) doesn't matter, you can do either.<br>
<br>
When I find the time I’ll see if I can fix this behaviour in a nice way and create a patch,<br>
perhaps pass should ask which one is meant, the file or folder?<br>
<br>
Anne Jan<br>
_______________________________________________<br>
Password-Store mailing list<br>
<a href="mailto:Password-Store@lists.zx2c4.com" target="_blank">Password-Store@lists.zx2c4.com</a><br>
<a href="http://lists.zx2c4.com/mailman/listinfo/password-store" rel="noreferrer" target="_blank">http://lists.zx2c4.com/mailman/listinfo/password-store</a><br>
</blockquote></div><br></div>