/srv/irclogs.ubuntu.com/2015/10/23/#ubuntu-motu.txt

dholbachgood morning06:28
=== lan3y is now known as Laney
=== mchro- is now known as mchro
=== broder_ is now known as broder
=== \b is now known as benonsoftware
=== s1aden is now known as sladen
=== davroman1ak is now known as davromaniak
sidiRethorical question: there's no way to know, looking at the contents of a .deb package, which files will be given the executable flag once the package is installed? I have to actually install the package and manually check the files' permissions, correct?12:59
rbasaksidi: know for certain, or just get an idea? Most files shipped in debs already have their executable bits set. But it is in theory possible for a package to set or remove the bits in a package postinst.13:00
rbasakThat would be an odd thing to do in most cases though.13:00
rbasak"set" as in "decided", not "set to 1".13:01
mitya57sidi, use dpkg -c foo.deb13:01
mitya57It will show the files permissions13:01
sidi(damn, pressing Ctrl+W to erase a word in Xchat does not work as expected)13:01
mitya57<mitya57> sidi, use dpkg -c foo.deb13:02
mitya57<mitya57> It will show the files permissions13:02
sidirbasak, sorry i missed your last message13:02
rbasaksidi: know for certain, or just get an idea? Most files shipped in debs already have their executable bits set. But it is in theory possible for a package to set or remove the bits in a package postinst.13:02
rbasak"set" as in "decided", not "set to 1".13:02
sidithanks13:02
rbasakThat would be an odd thing to do in most cases though.13:02
rbasak(change things int he package postinst)13:02
sidimitya57, rbasak so i can just download all the debs and grep on top of dpkg -c, that'd work for me I believe13:03
sidirbasak, i'll gladly ignore postinst changes if that's not the usual method for setting permissions. i can fix my list of executables later on for individual packages13:04
rbasakYep, that should give you a pretty good view. There are probably a few edge cases where files on an installed system don't end up with the same permissions as shipped in the package, but that is probably fairly rare.13:04
sidiI mainly want to avoid manually doing it for tens of thousands of packages :-) that should be fine13:06
=== shadeslayer_ is now known as shadeslayer

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!