[devel] Re: world-writable files

Alexey Tourbin =?iso-8859-1?q?at_=CE=C1_altlinux=2Eru?=
Пт Сен 16 20:19:55 MSD 2005


On Fri, Sep 16, 2005 at 06:09:10PM +0400, Alexey Tourbin wrote:
> (включая src.rpm'ы)
> $ awk -F'\t' '$3~/7$/ && $3!~/^120...$/ && $3!~/^41...$/' dump.old

Условие проверки $3~/7$/ недостаточное.  Вот более полный список.

$ awk -F'\t' '$3~/[2367]$/ && $3!~/^120...$/ && $3!~/^41...$/' dump.old
AVLTree-devel	AVLTree-0.1.3.tar.gz	100666	gzip compressed data, from Unix, max compression
Terminal	Terminal-0.2.4.tar.bz2	100666	bzip2 compressed data, block size = 900k
WSoundServer	WSoundServer.spec	100666	ASCII English text
abiword	abiword.spec	100666	UTF-8 Unicode English text, with very long lines
acpid	acpid.init	100666	Bourne shell script text executable
acpid	poweroff.rc	100666	ASCII text
angband	/var/lib/games/angband/user	40777	directory
armenian-fonts-ttf	fonts-ttf-armenian.spec	100666	UTF-8 Unicode text
aspell	aspell-ispell.alternatives	100666	ASCII text
aspell	aspell.spec	100666	UTF-8 Unicode English text
aspell-be	aspell6-be-0.02.tar.bz2	100666	bzip2 compressed data, block size = 900k
aspell-de	aspell-de.spec	100666	ASCII English text
aspell-de	aspell-lang-20040515.tar.bz2	100666	bzip2 compressed data, block size = 900k
aspell-en	aspell-en.spec	100666	ASCII English text
aspell-uk	aspell-lang-20040515.tar.bz2	100666	bzip2 compressed data, block size = 900k
aspell-uk	aspell-uk.spec	100666	ASCII text
aspell-uk	info.bz2	100666	bzip2 compressed data, block size = 900k
aspell-uk	uk.dat.bz2	100666	bzip2 compressed data, block size = 900k
aspell-uk	ukrainian-koi-0.7.wordlist.bz2	100666	bzip2 compressed data, block size = 900k
asterisk	README	100666	ASCII English text
asterisk	app_dtmftotext.c	100666	ASCII C program text
asterisk	asterisk-init	100777	Bourne-Again shell script text executable
asterisk	asterisk-modules.conf	100666	ASCII English text
asterisk	asterisk.Makefile.patch	100666	ASCII English text
asterisk	asterisk.h323-1.patch	100666	ASCII text
asterisk	asterisk.h323-2.patch	100666	ASCII text
asterisk	asterisk.h323-build.patch	100666	ASCII make commands text
asterisk	asterisk.pic.patch	100666	ASCII text
asterisk	asterisk.spec	100666	UTF-8 Unicode English text
asterisk	musiconhold.conf	100666	ASCII English text
audacity	audacity-src-1.2.3.tar.bz2	100666	bzip2 compressed data, block size = 900k
autospeedstep	autospeedstep.init	100666	Bourne shell script text executable
bengali-fonts-ttf	fonts-ttf-bengali.spec	100666	UTF-8 Unicode text
bforce	bforce-config.patch	100666	ASCII English text
bforce	bforce-path-correction.patch	100666	'diff' output text
bforce	bforce.binkp	100666	ASCII text
bforce	bforce.ifc	100666	ASCII text
bforce	bforce.init	100666	Bourne shell script text executable
bforce	bforce.logrotate	100666	ASCII text
bind	/var/lib/bind/dev/log	140666	ERROR: cannot open `.//var/lib/bind/dev/log' (No such file or directory)
binkd	binkd-default-config.patch	100666	ASCII C program text
binkd	binkd.conf	100666	ASCII text, with CRLF, CR, LF line terminators
binkd	binkd.init	100666	Bourne shell script text executable
binkd	binkd.logrotate	100666	ASCII text
binkd	binkd.xinetd	100666	ASCII text
blender	blender-2.36.tar.bz2	100666	bzip2 compressed data, block size = 900k
blender	blender-wrapper	100666	Bourne shell script text executable
blender	blender.desktop	100666	UTF-8 Unicode text
chinese-fonts-ttf	fonts-ttf-chinese.spec	100666	UTF-8 Unicode English text
courier-authlib	/var/lib/courier-authlib/socket	100666	ERROR: cannot open `.//var/lib/courier-authlib/socket' (No such file or directory)
dbh	dbh-1.0.24.tar.bz2	100666	bzip2 compressed data, block size = 900k
dbview	dbview-fixes.patch.gz	100666	gzip compressed data, was "gzed.1014064767", from Unix
dev	/dev/full	20666	character special (1/7)
dev	/dev/log	140666	ERROR: cannot open `.//dev/log' (No such file or directory)
dev	/dev/null	20666	character special (1/3)
dev	/dev/ptmx	20666	character special (5/2)
dev	/dev/tty	20666	character special (5/0)
dev	/dev/vhci	20666	character special (10/250)
dev	/dev/zero	20666	character special (1/5)
devanagari-fonts-ttf	fonts-ttf-devanagari.spec	100666	UTF-8 Unicode text
device-mapper	dmcontrol_update	100777	Bourne shell script text executable
dhcp-server	/var/lib/dhcp/dhcpd/dev/log	140666	ERROR: cannot open `.//var/lib/dhcp/dhcpd/dev/log' (No such file or directory)
drwright	drwright.be.po.bz2	100666	bzip2 compressed data, block size = 900k
drwright	drwright.spec	100666	UTF-8 Unicode text, with very long lines
easytag	easytag-1.99.6.tar.bz2	100666	bzip2 compressed data, block size = 900k
enchant	enchant-spell.bz2	100666	bzip2 compressed data, block size = 900k
enchant	enchant.alternatives	100666	ASCII text
enchant	enchant.spec	100666	ASCII text
exo	exo-0.3.0.tar.bz2	100666	bzip2 compressed data, block size = 900k
flac	flac-1.1.2.tar.bz2	100666	bzip2 compressed data, block size = 900k
freefont-fonts-ttf	fonts-ttf-freefont.spec	100666	UTF-8 Unicode English text
freeradius	freeradius-1.0.4.tar.gz	103767	setgid sticky gzip compressed data, from Unix
fvwm-tcl	fvwm-tcl.spec	100666	ASCII text
gaim	gaim-0.59.1-desktop.patch	100666	UTF-8 Unicode text
gaim	gaim-0.75-fix.diff	100666	'diff' output text
gaim	gaim-plugins.patch	100666	'diff' output text
gaim	gaim.spec	100666	UTF-8 Unicode English text
gaim	gaim_icons.tar.bz2	100666	bzip2 compressed data, block size = 900k
gdm-theme-angel	gdm-theme-angel.spec	100666	UTF-8 Unicode text
gdm-theme-bijou	gdm-theme-bijou.spec	100666	UTF-8 Unicode text
gdm-theme-bluish	gdm-theme-bluish-gdm.spec	100666	UTF-8 Unicode English text
gdm-theme-crystal	gdm-theme-crystal.spec	100666	UTF-8 Unicode text
gdm-theme-dartfrog	gdm-theme-dartfrog.spec	100666	UTF-8 Unicode English text
gdm-theme-dawn	gdm-theme-dawn.spec	100666	UTF-8 Unicode text
gdm-theme-dumbcloud	gdm-theme-dumbcloud.spec	100666	UTF-8 Unicode text
gdm-theme-emo-blue	gdm-theme-emo-blue.spec	100666	UTF-8 Unicode text
gdm-theme-flame	gdm-theme-flame.spec	100666	UTF-8 Unicode text
gdm-theme-flowers	gdm-theme-flowers.spec	100666	UTF-8 Unicode text
gdm-theme-hunter	gdm-theme-hunter.spec	100666	UTF-8 Unicode text
gdm-theme-lantueno	gdm-theme-lantueno-gdm.spec	100666	UTF-8 Unicode text
gdm-theme-morning	gdm-theme-morning.spec	100666	UTF-8 Unicode English text
gdm-theme-mushu	gdm-theme-mushu.spec	100666	UTF-8 Unicode English text
georgian-fonts-ttf	fonts-ttf-georgian.spec	100666	UTF-8 Unicode text
gimp-gap	gimp-gap-2.0.2.tar.bz2	100666	bzip2 compressed data, block size = 900k
gnome-backgrounds	gnome-backgrounds.spec	100666	UTF-8 Unicode text
gnome-spell	gnome-spell-1.0.5.tar.bz2	100666	bzip2 compressed data, block size = 900k
gtklife	gtklife-4.1.tar.gz	100777	gzip compressed data, from Unix
gw-fonts-ttf	fonts-ttf-gw.spec	100666	UTF-8 Unicode text
id3v2	id3v2-0.1.9.tar.bz2	100666	bzip2 compressed data, block size = 900k
iproute-htb	htb-lartc.tar.gz	100666	gzip compressed data, was "htb-example.tar", from Unix
japanese-fonts-ttf	fonts-ttf-japanese.spec	100666	UTF-8 Unicode text
kannada-fonts-ttf	fonts-ttf-kannada.spec	100666	UTF-8 Unicode text
kdebase	kdebase-3.4-ALT-kdm-config.patch	100666	ASCII English text
kdeutils	kdeutils-3.0-ktimer_icons.patch	100666	UTF-8 Unicode text
kernel-fix-drivers-ide-scsi	kernel-fix-drivers-ide-scsi.spec	100666	ASCII text
kernel-fix-drivers-ide-scsi	kernel-fix-ide-scsi.patch	100666	'diff' output text
klogd	/var/lib/klogd/dev/log	140666	ERROR: cannot open `.//var/lib/klogd/dev/log' (No such file or directory)
korean-fonts-ttf	fonts-ttf-korean.spec	100666	UTF-8 Unicode text
ksocrat	ksocrat.spec	100666	ASCII text
kuake	kuake-0.3.tar.gz	100777	gzip compressed data, from Unix
lame	lame-3.96.1.tar.bz2	100666	bzip2 compressed data, block size = 900k
lame-hydrogen	lame-3.90.3-linux.tar.bz2	100666	bzip2 compressed data, block size = 900k
lamip	lamip_20050306.tar.bz2	100666	bzip2 compressed data, block size = 900k
lamip-control-default	lamip-controlDEFAULT_20050206.tar.bz2	100666	bzip2 compressed data, block size = 900k
lamip-control-foobar	lamip-controlFOOBAR_20050308.tar.bz2	100666	bzip2 compressed data, block size = 900k
lamip-control-shell	lamip-controlSHELL_20050209.tar.bz2	100666	bzip2 compressed data, block size = 900k
lamip-input-ac3	lamip-inputAC3_20050227.tar.bz2	100666	bzip2 compressed data, block size = 900k
lamip-input-ape	lamip-inputAPE_20050227.tar.bz2	100666	bzip2 compressed data, block size = 900k
lamip-input-flac	lamip-inputFLAC_20050226.tar.bz2	100666	bzip2 compressed data, block size = 900k
lamip-input-mp3	lamip-inputMP3_20050226.tar.bz2	100666	bzip2 compressed data, block size = 900k
lamip-input-ogg	lamip-inputOGG_20050226.tar.bz2	100666	bzip2 compressed data, block size = 900k
lamip-input-playlist	lamip-inputPLAYLIST_20050226.tar.bz2	100666	bzip2 compressed data, block size = 900k
lamip-input-speex	lamip-inputSPEEX_20050303.tar.bz2	100666	bzip2 compressed data, block size = 900k
lamip-input-wav	lamip-inputWAV_20050226.tar.bz2	100666	bzip2 compressed data, block size = 900k
lamip-output-alsa	lamip-outputALSA_20050226.tar.bz2	100666	bzip2 compressed data, block size = 900k
lamip-output-libao	lamip-outputLIBAO_20050216.tar.bz2	100666	bzip2 compressed data, block size = 900k
lamip-output-oss	lamip-outputOSS_20050309.tar.bz2	100666	bzip2 compressed data, block size = 900k
libao	libao-0.8.6.tar.bz2	100666	bzip2 compressed data, block size = 900k
libftgl	ftgl-2.0.11.tar.bz2	100666	bzip2 compressed data, block size = 900k
libgnomedb	libgnomedb.spec	100666	ASCII English text, with very long lines
libmodplug	libmodplug.spec	100666	ASCII English text
libogg	libogg-1.1.2.tar.bz2	100666	bzip2 compressed data, block size = 900k
libvorbis	libvorbis-1.1.1.tar.bz2	100666	bzip2 compressed data, block size = 900k
libxfce4mcs	libxfce4mcs.spec	100666	ISO-8859 English text
libxfce4util	libxfce4util.spec	100666	ISO-8859 English text
libxfcegui4	libxfcegui4.spec	100666	ISO-8859 English text
liferea	liferea.be.po.bz2	100666	bzip2 compressed data, block size = 900k
lshw	lshw.spec	100666	ASCII English text
ltris	/var/lib/games/ltris.hscr	100666	ASCII text
malayalam-fonts-ttf	fonts-ttf-malayalam.spec	100666	UTF-8 Unicode text
maxima	maxima-5.9.1.tar.gz	100666	gzip compressed data, from Unix, max compression
mkzftree	zisofs-tools-1.0.4.tar.bz2	100666	bzip2 compressed data, block size = 900k
mnogosearch	/var/lib/mnogosearch/cache	40777	directory
mod_mono	mod_mono-1.0.9.tar.gz	100777	gzip compressed data, from Unix, max compression
mod_php	mod_php-php.conf	100666	ASCII text
mod_php5	mod_php5-php.conf	100666	ASCII text
mp3blaster	mp3blaster-3.2.0-alt-id3show.patch	100666	ASCII text
ms-fonts-ttf	fonts-ttf-ms.spec	100666	UTF-8 Unicode text
ms-sys	ms-sys-2.0.0.tgz	103767	setgid sticky gzip compressed data, from Unix
ms-sys	ms-sys.spec	103666	setgid sticky ASCII English text
mysqlnavigator	mysqlnavigator.png	101757	sticky PNG image data, 32 x 32, 8-bit/color RGBA, non-interlaced
nginx	nginx.conf	100666	ASCII text
nginx	nginx.init	100777	Bourne-Again shell script text executable
nscd	/var/run/nscd/socket	140666	ERROR: cannot open `.//var/run/nscd/socket' (No such file or directory)
nut-driver	/var/lib/nut/dev/log	140666	ERROR: cannot open `.//var/lib/nut/dev/log' (No such file or directory)
nut-server	/var/lib/nut/dev/log	140666	ERROR: cannot open `.//var/lib/nut/dev/log' (No such file or directory)
ore	ore-0.1-rubypath.patch	100666	ASCII English text
ore	ore-0.1.tar.bz2	100666	bzip2 compressed data, block size = 600k
ore	ore.spec	100666	UTF-8 Unicode text
par2	par2cmdline-0.4.tar.bz2	100666	bzip2 compressed data, block size = 900k
partitionmorpher	partitionmorpher.desktop	100666	ASCII text
partitionmorpher	partitionmorpher.menu	100666	ASCII text
partitionmorpher	partitionmorpher.pamd	100666	ASCII text
partitionmorpher	partitionmorpher.security	100666	ASCII text
partitionmorpher	partitionmorpher.spec	100666	UTF-8 Unicode text
partitionmorpher	partitionmorpher_16.png	100666	PNG image data, 16 x 16, 8-bit/color RGBA, non-interlaced
partitionmorpher	partitionmorpher_32.png	100666	PNG image data, 32 x 32, 8-bit/color RGBA, non-interlaced
partitionmorpher	partitionmorpher_64.png	100666	PNG image data, 64 x 64, 8-bit/color RGBA, non-interlaced
php	php-4.0.0-init.patch	100666	'diff' output text
php	php-test-pcntl.patch	100666	'diff' output text
php5	php-4.0.0-init.patch	100666	'diff' output text
php5	php-test-pcntl.patch	100666	'diff' output text
poedit	poedit-1.3.1.tar.bz2	100666	bzip2 compressed data, block size = 900k
postfix	/var/spool/postfix/dev/log	140666	ERROR: cannot open `.//var/spool/postfix/dev/log' (No such file or directory)
postgresql-server	/var/lib/pgsql-root/dev/log	140666	ERROR: cannot open `.//var/lib/pgsql-root/dev/log' (No such file or directory)
postgresql8.0-server	/var/lib/pgsql-root/dev/log	140666	ERROR: cannot open `.//var/lib/pgsql-root/dev/log' (No such file or directory)
qtparted	qtparted-pam	100666	ASCII text
qtparted	qtparted-security	100666	ASCII text
raidtools	raidtools-1.00.3.tar.gz	100666	gzip compressed data, from Unix
rbbr	rbbr.desktop	100666	ASCII text
rbbr	rbbr.menu	100666	ASCII text
rbbr	rbbr.spec	100666	ASCII English text
ruby-gettext	rgettext-be.po	100666	UTF-8 Unicode PO (gettext message catalogue) text
ruby-gettext	rmsgfmt-be.po	100666	UTF-8 Unicode PO (gettext message catalogue) text
ruby-gettext	ruby-gettext-package-0.5.3-post-setup.patch	100666	ASCII text
ruby-gettext	ruby-gettext.spec	100666	ASCII English text
ruby-gnome2	ruby-gnome2-0.8.1-alt-config.patch	100666	ASCII text
ruby-gnome2	ruby-gnome2-all-0.9.1-gstreamer.patch	100666	ASCII text
ruby-gnome2	ruby-gnome2-all-0.9.1-libgda.patch	100666	ASCII text
ruby-racc	racc-1.4.4-all.tar.gz	100666	gzip compressed data, from Unix
ruby-racc	ruby-racc.spec	100666	ASCII text
showimg	showimg.spec	100666	UTF-8 Unicode English text
sound-juicer	sound-juicer.spec	100666	UTF-8 Unicode text
spandsp	spandsp.spec	100666	ASCII text
speex	speex-1.1.8.tar.bz2	100666	bzip2 compressed data, block size = 900k
syriac-fonts-ttf	fonts-ttf-syriac.spec	100666	UTF-8 Unicode text
tamil-fonts-ttf	fonts-ttf-tamil.spec	100666	UTF-8 Unicode text
thai-fonts-ttf	fonts-ttf-thai.spec	100666	UTF-8 Unicode text
tibetan-fonts-ttf	fonts-ttf-tibetan.spec	100666	UTF-8 Unicode text
tome	/var/lib/games/tome/user	40777	directory
tome	/var/lib/games/tome/user/automat.atm	100777	empty
unrar	unrarsrc-3.4.3.tar.bz2	100666	bzip2 compressed data, block size = 900k
unreal	uircd.tune	100607	ASCII text
unzoo	unzoo.c.gz	100666	gzip compressed data, was "unzoo.c", from Unix
unzoo	unzoo.spec	100666	UTF-8 Unicode English text
urdu-fonts-ttf	fonts-ttf-urdu.spec	100666	UTF-8 Unicode text
val-fonts-ttf	fonts-ttf-val.spec	100666	UTF-8 Unicode text
vdr	/var/lib/vdr/config	40777	directory
vdr	/var/lib/vdr/config/keymacros.conf	100666	ASCII text
vdr	/var/lib/vdr/config/logos	40777	directory
vdr	/var/lib/vdr/config/plugins	40777	directory
vdr	/var/lib/vdr/config/schemes	40777	directory
vdr	/var/lib/vdr/config/sources.conf	100666	ISO-8859 English text
vdr	/var/lib/vdr/config/svdrphosts.conf	100666	ASCII English text
vdr	/var/lib/vdr/video	40777	directory
wxGTK2	wxGTK-2.6.1.tar.bz2	100666	bzip2 compressed data, block size = 900k
wxGTK2u	wxGTK-2.6.1.tar.bz2	100666	bzip2 compressed data, block size = 900k
xfcalendar	xfcalendar.spec	100666	ISO-8859 English text
xfce-mcs-manager	xfce-mcs-manager.spec	100666	ISO-8859 text
xfce-mcs-plugins	xfce-mcs-plugins.spec	100666	ISO-8859 English text
xfce-utils	xfce-utils.spec	100666	ISO-8859 English text
xfce4-appfinder	xfce4-appfinder.spec	100666	ISO-8859 English text
xfce4-clipman-plugin	xfce4-clipman-plugin-0.4.1.tar.bz2	100666	bzip2 compressed data, block size = 900k
xfce4-common	xfce4-common.spec	100666	ASCII text
xfce4-cpugraph-plugin	xfce4-cpugraph-plugin-0.2.2.tar.bz2	100666	bzip2 compressed data, block size = 900k
xfce4-datetime-plugin	xfce4-datetime-plugin-0.3.1.tar.bz2	100666	bzip2 compressed data, block size = 900k
xfce4-iconbox	xfce4-iconbox.spec	100666	ISO-8859 English text
xfce4-minicmd-plugin	xfce4-minicmd-plugin-0.3.0.tar.bz2	100666	bzip2 compressed data, block size = 900k
xfce4-mixer	xfce4-mixer.spec	100666	ISO-8859 English text
xfce4-notes-plugin	xfce4-notes-plugin-0.10.0.tar.bz2	100666	bzip2 compressed data, block size = 900k
xfce4-panel	xfce4-panel.spec	100666	ISO-8859 English text
xfce4-session	xfce4-session.spec	100666	ISO-8859 English text
xfce4-showdesktop-plugin	xfce4-showdesktop-plugin-0.4.0.tar.bz2	100666	bzip2 compressed data, block size = 900k
xfce4-systemload-plugin	xfce4-systemload-plugin-0.3.6.tar.bz2	100666	bzip2 compressed data, block size = 900k
xfce4-systray	xfce4-systray.spec	100666	ASCII English text
xfce4-taskbar-plugin	xfce4-taskbar-plugin-0.2.2.tar.bz2	100666	bzip2 compressed data, block size = 900k
xfce4-toys	xfce4-toys.spec	100666	ISO-8859 text
xfce4-trigger-launcher	xfce4-trigger-launcher.spec	100666	ASCII English text
xfce4-weather-plugin	xfce4-weather-plugin-0.4.9.tar.bz2	100666	bzip2 compressed data, block size = 900k
xfce4-windowlist-plugin	xfce4-windowlist-plugin-0.1.0.tar.bz2	100666	bzip2 compressed data, block size = 900k
xfce4-xkb-plugin	xfce4-xkb-plugin-0.3.2.tar.bz2	100666	bzip2 compressed data, block size = 900k
xfdesktop	xfdesktop.spec	100666	ISO-8859 English text
xffm	xffm.spec	100666	ISO-8859 text
xfprint	xfprint.spec	100666	ISO-8859 English text
xfwm4	xfwm4.spec	100666	ISO-8859 text
xfwm4-themes	xfwm4-themes.spec	100666	ISO-8859 English text
xjewel	/var/lib/games/xjewel.scores	100666	empty
xmame	xmame-mameinfo-0.89.dat.bz2	100666	bzip2 compressed data, block size = 900k
xmms-cueinfo	xmms-cueinfo.spec	100666	ASCII English text
xmms-in-modplug	xmms-in-modplug.spec	100666	ASCII text
xmms-in-musepack	xmms-in-musepack.spec	100666	ASCII text
zangband	/var/lib/games/zangband/user	40777	directory
$
----------- следующая часть -----------
Было удалено вложение не в текстовом формате...
Имя     : =?iso-8859-1?q?=CF=D4=D3=D5=D4=D3=D4=D7=D5=C5=D4?=
Тип     : application/pgp-signature
Размер  : 189 байтов
Описание: =?iso-8859-1?q?=CF=D4=D3=D5=D4=D3=D4=D7=D5=C5=D4?=
Url     : <http://lists.altlinux.org/pipermail/devel/attachments/20050916/9acae48d/attachment-0001.bin>


Подробная информация о списке рассылки Devel