[pacman-dev] Directory permission checking in makepkg

Allan McRae mcrae_allan at hotmail.com
Thu Dec 6 08:35:50 EST 2007


Hi all,

I was looking at bug FS#5908 [1] which asks for directory permissions to 
be checked somewhere in order to stop screwing your system when 
installing a poorly made package (as directory permissions get 
overwritten when extracting packages).

This at first glance seems about a two line addition to the tidy_install 
function of makepkg.  However, can anybody come up with a case where 
package directories shouldn't have 755 permissions?  If so, I guess this 
would require either the addition of some option which would stop the 
directory permissions getting fixed (dirperm?) or just checking/fixing 
the permissions of a predetermined set of directories. If needed, which 
is preferable.

Cheers,
Allan

[1] http://bugs.archlinux.org/task/5908






More information about the pacman-dev mailing list