Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   ArchLinux Pacman Development (http://www.linux-archive.org/archlinux-pacman-development/)
-   -   wrong permission of files and rep in package (http://www.linux-archive.org/archlinux-pacman-development/35519-wrong-permission-files-rep-package.html)

Xavier 01-12-2008 11:16 AM

wrong permission of files and rep in package
 
solsTiCe d'Hiver wrote:
> hi.
> i am using pacman 3.1 for x86_64.
>
> and the package i create with makepkg have wrong permissions:
> directory have permission drw------- and files have -rw-------
>
> it's because i use umask=0077 for my user.
> and because, i suppose, of that new "feature", only runs in fakeroot when
> necessary i see in the ChangeLog of pacman 3.1
>
> well it seems, that by willing to run in fakeroot only when needed you did not
> use fakeroot when you should
>
> or the bug i am reporting is a feature ?
>
> it will break many PKGBUILD for people using umask=0077
>
> at least pacman warns you when you install such a package
>

I can't reproduce this on i686.
makepkg sets the umask itself anyway :
671 # ensure we have a sane umask set
672 umask 0022

_______________________________________________
pacman-dev mailing list
pacman-dev@archlinux.org
http://archlinux.org/mailman/listinfo/pacman-dev

Xavier 01-12-2008 07:30 PM

wrong permission of files and rep in package
 
solsTiCe d'Hiver wrote:
> i have only installed the pacman 3.1 package from [testing]. i.e.
> i do not use [testing] at all
> may be that's because of that ?
>

I don't think that should be a problem.

_______________________________________________
pacman-dev mailing list
pacman-dev@archlinux.org
http://archlinux.org/mailman/listinfo/pacman-dev


All times are GMT. The time now is 11:04 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.