[pacman-dev] [PATCH] pmpkg: set default mode for files in sync packages

Allan McRae allan at archlinux.org
Sat Apr 6 02:43:34 EDT 2013


On 03/04/13 10:30, Andrew Gregory wrote:
> TarInfo objects default to mode 0644 while mkfile in util.py uses 0755,
> causing pacman warnings about differing permissions on tests involving
> package updates.  Set the mode on TarInfo objects to 0755 unless the
> test specifies a different mode.
> 
> Bug referenced in FS#30723.
> 

Hrm...  I'd prefer to stick to "defaults" of 0755 for directories and
0644 for files.  Not sure how difficult that is though.

Also, if we must go this root, mode002.py needs adjusted to do something
other than the default (or another test added).

Allan


More information about the pacman-dev mailing list