package: dpkg
version: 1.16.9
severity: wishlist

Hello,

This morning after booting my computer, I couldn't login into my desktop.

In .xsession-errors file appeared:
openConnection: connect: No existe el fichero o el directorio
cannot connect to brltty at :0
mkdtemp: private socket dir: Permission denied


After review the problem, I found the problem, that is that I executed :

dpkg-deb -x package.deb /tmp/

So /tmp/ was changed from 1777 to 755. I read in manpage about this
change is wanted.

But I'm asking you if it is possible to add a warning / error to
dpkg-deb output, so you don't broke your system without any clue (If
you use dpkg-deb wrongly)

I'm attaching a possible patch (I'm not a C programmer, so sorry if
there is problem with that)

Thank you very much

Attachment: dpkg-deb-tmp.diff
Description: Binary data

Reply via email to