[pacman-dev] difficult symlink "puzzle"

Xavier shiningxc at gmail.com
Sun Jul 8 15:09:52 EDT 2007


On Sun, Jul 08, 2007 at 07:36:00PM +0100, Andrew Fyfe wrote:
> > There is also still the problem with the tmp/ directory, which is first created by
> > pacman with the wrong permissions, and which will keep these wrong
> > permissions if we don't update it there when installing the filesystem package.
> > But that problem could be fixed at the places where pacman creates tmp/
> This is a pacman problem, it should set the correct permissions when 
> creating tmp.
> 

Right.
I still find it odd that pacman requires the /tmp/ directory (which belongs
to the filesystem package) for installing the filesystem package.
But well :)

> > And does the code below apply to every cases except the one above ?
> Yes, This could probably still be refined a little.
> 

Don't we need regular files on both side (old file on filesystem, and new
file from the archive) for computing md5sums anyway ?




More information about the pacman-dev mailing list