[PVE-User] /usr/local permissions

Robert Fantini rob at fantinibakery.com
Mon Feb 27 17:01:43 CET 2012


On 02/27/2012 10:45 AM, Dietmar Maurer wrote:
> Proxmox VE does not use /usr/local, so the question is who installed files there?
>
>> I'm unsure if this question has been asked before, but today I noticed that
>> almost everything below /usr/local on the hardware-node has the setuid-bit set,
>> is this intentional or is it a miss-configuration? Most of my debian-6 guests has
>> these permissions as well, therefor I wanted to ask before I removed all setuid
>> bits. :-)
> _______________________________________________
> pve-user mailing list
> pve-user at pve.proxmox.com
> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user

from a system installed yesterday:

root at homenet-home10 /data/pve-storage # ls -ld /usr/local
drwxrwsr-x 10 root staff 4096 Feb 16 06:09 /usr/local

root at homenet-home10 /data/pve-storage # ls -lR /usr/local
/usr/local:
total 32
drwxrwsr-x 2 root staff 4096 Feb 26 20:17 bin
drwxrwsr-x 2 root staff 4096 Feb 16 06:09 etc
drwxrwsr-x 2 root staff 4096 Feb 16 06:09 games
drwxrwsr-x 2 root staff 4096 Feb 16 06:09 include
drwxrwsr-x 3 root staff 4096 Feb 25 21:03 lib
lrwxrwxrwx 1 root staff    9 Feb 25 21:01 man -> share/man
drwxrwsr-x 2 root staff 4096 Feb 16 06:09 sbin
drwxrwsr-x 5 root staff 4096 Feb 25 21:03 share
drwxrwsr-x 2 root staff 4096 Feb 16 06:09 src

/usr/local/bin:
total 16
-rwxr-xr-x 1 root staff 13442 Feb 26 20:17 lockrun

/usr/local/etc:
total 0

/usr/local/games:
total 0

/usr/local/include:
total 0

/usr/local/lib:
total 4
drwxrwsr-x 4 root staff 4096 Feb 25 21:03 python2.6

/usr/local/lib/python2.6:
total 8
drwxrwsr-x 2 root staff 4096 Feb 25 21:03 dist-packages
drwxrwsr-x 2 root staff 4096 Feb 25 21:03 site-packages

/usr/local/lib/python2.6/dist-packages:
total 0

/usr/local/lib/python2.6/site-packages:
total 0

/usr/local/sbin:
total 0

/usr/local/share:
total 12
drwxrwsr-x 2 root staff 4096 Feb 25 21:03 ca-certificates
drwxrwsr-x 2 root staff 4096 Feb 25 21:03 fonts
drwxrwsr-x 2 root staff 4096 Feb 16 06:09 man

/usr/local/share/ca-certificates:
total 0

/usr/local/share/fonts:
total 0

/usr/local/share/man:
total 0

/usr/local/src:
total 0


I did install some other programs after the initial install:
root at homenet-home10 /var/log # grep INSTALL /var/log/aptitude
[INSTALL, DEPENDENCIES] libcap-ng0
[INSTALL] smartmontools
[INSTALL, DEPENDENCIES] dbus
[INSTALL, DEPENDENCIES] libdbus-1-3
[INSTALL, DEPENDENCIES] libhal-storage1
[INSTALL, DEPENDENCIES] libhal1
[INSTALL, DEPENDENCIES] lockfile-progs
[INSTALL, DEPENDENCIES] pmount
[INSTALL] usbmount
[INSTALL] gpm
[INSTALL] htop
[INSTALL, DEPENDENCIES] vim-runtime
[INSTALL] vim
[INSTALL] apticron
[INSTALL] libsasl2-modules
[INSTALL, DEPENDENCIES] liblchown-perl
[INSTALL] rsnapshot
[INSTALL, DEPENDENCIES] libavahi-client3
[INSTALL, DEPENDENCIES] libavahi-common-data
[INSTALL, DEPENDENCIES] libavahi-common3
[INSTALL, DEPENDENCIES] libcups2
[INSTALL, DEPENDENCIES] libfile-copy-recursive-perl
[INSTALL, DEPENDENCIES] libwbclient0
[INSTALL, DEPENDENCIES] update-inetd
[INSTALL] samba
[INSTALL] libnss-ldap
[INSTALL] libpam-ldap
[INSTALL] nscd
[INSTALL, DEPENDENCIES] curl
[INSTALL, DEPENDENCIES] libapt-pkg-perl
[INSTALL, DEPENDENCIES] libconfig-file-perl
[INSTALL, DEPENDENCIES] libcurl3
[INSTALL, DEPENDENCIES] liblist-moreutils-perl
[INSTALL, DEPENDENCIES] libregexp-assemble-perl
[INSTALL, DEPENDENCIES] libssh2-1
[INSTALL] apt-file
[INSTALL] samba-common-bin




More information about the pve-user mailing list