[pass] Can't delete when using same name for file and folder
dashohoxha at gmail.com
Thu Feb 4 22:10:01 CET 2016
Maybe it should not allow to create a directory with the same name as a
file (or vice-versa). This does not sound normal.
Meanwhile, as a workaround, you can rename the file and then delete it.
On Thu, Feb 4, 2016 at 9:55 PM, <the_jinx at etv.cx> wrote:
> A QtPass user found an interesting bug or quirk in pass.
> Here is what happens when you create a password file and folder with the
> same name.
> $ pass add test-159
> I enter "test”
> $ pass add test-159/test
> I enter "test 2”
> $ pass test-159
> It returns "test”
> $ pass rm test-159
> rm: /home/annejan/.password-store/test-159: is a directory
> I also tested order of creation (first folder or first file) doesn't
> matter, you can do either.
> When I find the time I’ll see if I can fix this behaviour in a nice way
> and create a patch,
> perhaps pass should ask which one is meant, the file or folder?
> Anne Jan
> Password-Store mailing list
> Password-Store at lists.zx2c4.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Password-Store