Re: Bad permissions on /tmp
Brian May wrote:
> >>>>> "Branden" == Branden Robinson <branden@ecn.purdue.edu> writes:
>
> Branden> Sorry, I meant dpkg-deb -x. And joeyh tells me on IRC
> Branden> that this in fact correct behavior, if the untarring user
> Branden> has rights to modify the perms on the current directory.
> Branden> Still, if you did any dpkg-deb -x'ing, that might explain
> Branden> it.
>
> So ... the conclusion is that you must never dpkg-deb -x a source
> file into /tmp, as root (or any other place where you don't
> want the permissions to be changed). If so, this sounds like
> a serious "gotcha" that is rather unexpected.
>
> However, I thought most (if not all) source tar files never contain
> the ./ directory, so I am puzzled as how it could happen.
dpkg-deb -x acts on .deb files; _all_ .deb files contain a . directory.
--
see shy jo
Reply to: