Mailinglist Archive: opensuse-security (192 mails)

< Previous Next >
bad permissions in ftpdir
  • From: Volker Kuhlmann <kuhlmav@xxxxxxxxxxxxxxxxxxxxx>
  • Date: Thu, 25 May 2000 18:18:37 +1200 (NZST)
  • Message-id: <200005250618.SAA10377@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Hello,

the following package has permissions 755 for directories and 644 for files.

Much better would be to use 111 and 444 (except for /dev/null and /pub
of course). Red Hat does that too.

Also, the two ls should be hardlinked to save space.

Volker


Name : ftpdir Relocations: (not relocateable)
Version : 99.11.9 Vendor: SuSE GmbH, Nuernberg, Ge
rmany
Release : 0 Build Date: Wed Nov 10 06:29:08 1999
Install date: (not installed) Build Host: sturm.suse.de
Group : unsorted Source RPM: ftpdir-99.11.9-0.src.rpm
Size : 1776739 License: 1999 - not specified
Packager : feedback@xxxxxxx
Summary : A sample "FTP configuration"
Description :
This package contains a 'change-root'-configuration for
anonymous ftp.
drwxr-xr-x root root 1024 Nov 10 06:29 /usr/local/ftp/bin
-rwxr-xr-x root root 235304 Nov 10 06:29 /usr/local/ftp/bin/compress
-rwxr-xr-x root root 367936 Nov 10 06:29 /usr/local/ftp/bin/ls
-rwxr-xr-x root root 429572 Nov 10 06:29 /usr/local/ftp/bin/tar
drwxr-xr-x root root 1024 Nov 10 06:29 /usr/local/ftp/dev
crw-rw-rw- root root 1, 3 Nov 10 06:29 /usr/local/ftp/dev/null
drwxr-xr-x root root 1024 Apr 22 1998 /usr/local/ftp/etc
-rw-r--r-- root root 31 Apr 22 1996 /usr/local/ftp/etc/group
-rw-r--r-- root root 38 Apr 22 1996 /usr/local/ftp/etc/passwd
drwxr-xr-x root root 1024 Nov 10 06:29 /usr/local/ftp/lib
drwxr-xr-x root root 1024 Apr 21 1998 /usr/local/ftp/msgs
-rw-r--r-- root root 61 May 08 1996 /usr/local/ftp/msgs/msg.dea
d
-rw-r--r-- root root 417 May 08 1996 /usr/local/ftp/msgs/welcome
.msg
drwxr-xr-x root root 1024 Nov 10 06:29 /usr/local/ftp/pub
drwxr-xr-x root root 1024 Nov 10 06:29 /usr/local/ftp/usr
drwxr-xr-x root root 1024 Nov 10 06:29 /usr/local/ftp/usr/bin
-rwxr-xr-x root root 367252 Nov 10 06:29 /usr/local/ftp/usr/bin/gzip
-rwxr-xr-x root root 367936 Nov 10 06:29 /usr/local/ftp/usr/bin/ls

< Previous Next >
Follow Ups