[pacman-dev] tmp permissions problem is back?
Dan McGee
dpmcgee at gmail.com
Mon Aug 20 13:05:55 EDT 2007
On 8/20/07, Mister Dobalina <reebydobalina at yahoo.ca> wrote:
>
> See below. Sorry for any split command lines, should
> be obvious where they are...
>
> cheers,
> Jeremy
>
>
> # pacman -Q pacman libarchive
> pacman 3.0.5-3
> libarchive 2.2.6-1
>
> # mkdir /tmp/pacman.test
>
> # pacman -Ud
> /var/cache/pacman/pkg/filesystem-2007.08-1.pkg.tar.gz
> --root /tmp/pacman.test
>
> # ls -l /tmp/pacman.test
>
> total 0
> drwxr-xr-x 2 root root 40 2007-07-30 15:52 bin/
> drwxr-xr-x 2 root root 40 2007-07-30 15:52 boot/
> drwxr-xr-x 2 root root 40 2007-07-30 15:52 dev/
> drwxr-xr-x 4 root root 440 2007-07-30 15:52 etc/
> drwxr-xr-x 3 root root 60 2007-07-30 15:52 home/
> drwxr-xr-x 3 root root 60 2007-07-30 15:52 lib/
> drwxr-xr-x 5 root root 100 2007-07-30 15:52 mnt/
> drwxr-xr-x 2 root root 40 2007-07-30 15:52 opt/
> drwxr-xr-x 2 root root 40 2007-07-30 15:52 proc/
> drwxr-x--- 2 root root 40 2007-07-30 15:52 root/
> drwxr-xr-x 2 root root 40 2007-07-30 15:52 sbin/
> drwxr-xr-x 2 root root 40 2007-07-30 15:52 srv/
> drwxr-xr-x 2 root root 40 2007-07-30 15:52 sys/
> drwxr-xr-x 2 root root 40 2007-08-20 12:09 tmp/
> drwxr-xr-x 10 root root 220 2007-07-30 15:52 usr/
> drwxr-xr-x 13 root root 280 2007-08-20 12:09 var/
Did you run this as root? If not, scriptlets and directory permissions
could get funky as a regular user doesn't have permission to chroot
(to run scriptlets) and/or set some funky permissions on directories,
perhaps.
-Dan
More information about the pacman-dev
mailing list