[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

execute permissions in /tmp



I have a complaint/opinion/statement to express.  It seems that every now
and then when I run 'apt-get upgrade' i get a lot of errors about "Can't
exec "/tmp/config.xxxxx": Permission denied at...".  I like to keep my
Debian boxen nice and secure, so I 'chmod +t /tmp' to prevent temp files
from being executed.  It seems to me that some package maintainers aren't
aware of issues such as these and are assuming that anything can be done in
temp.

Note these errors from a recent 'apt-get upgrade'

Preconfiguring packages ...
Can't exec "/tmp/config.39341": Permission denied at
/usr/share/perl/5.8.0/IPC/Open3.pm line 159.
open2: exec of /tmp/config.39341 configure 1.64 failed at
/usr/share/perl5/Debconf/ConfModule.pm line 44
base-config failed to preconfigure, with exit status 255
Can't exec "/tmp/config.39343": Permission denied at
/usr/share/perl/5.8.0/IPC/Open3.pm line 159.
open2: exec of /tmp/config.39343 configure 2.2.3a-12 failed at
/usr/share/perl5/Debconf/ConfModule.pm line 44
samba failed to preconfigure, with exit status 255
Can't exec "/tmp/config.39345": Permission denied at
/usr/share/perl/5.8.0/IPC/Open3.pm line 159.
open2: exec of /tmp/config.39345 configure 2.2.3a-12 failed at
/usr/share/perl5/Debconf/ConfModule.pm line 44
samba-common failed to preconfigure, with exit status 255
(Reading database ... 24169 files and directories currently installed.)
Preparing to replace base-passwd 3.5.3 (using
.../base-passwd_3.5.4_i386.deb) ...
Unpacking replacement base-passwd ...
Setting up base-passwd (3.5.4) ...


-Jim P.




Reply to: