Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 09 Jun 2009 17:57:15 +0200
From:      Pav Lucistnik <pav@FreeBSD.org>
To:        Stanislav Sedov <stas@FreeBSD.org>
Cc:        cvs-ports@FreeBSD.org, beech@FreeBSD.org, cvs-all@FreeBSD.org, ports-committers@FreeBSD.org
Subject:   Re: cvs commit: ports/Mk bsd.port.mk
Message-ID:  <1244563035.33181.10.camel@pav.hide.vol.cz>
In-Reply-To: <20090609194743.c9d9bcc8.stas@FreeBSD.org>
References:  <200901111104.n0BB45Rj058235@repoman.freebsd.org> <20090609190633.38393ea1.stas@FreeBSD.org> <1244560269.33181.8.camel@pav.hide.vol.cz> <20090609194743.c9d9bcc8.stas@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Stanislav Sedov píše v út 09. 06. 2009 v 19:47 +0400:
> On Tue, 09 Jun 2009 17:11:09 +0200
> Pav Lucistnik <pav@FreeBSD.org> mentioned:
> 
> > Stanislav Sedov píše v út 09. 06. 2009 v 19:06 +0400:
> > 
> > > >   - Fix COPYTREE_* macros not to change permissions and ownership on files, that
> > > >     were already present in the target path
> > > >   
> > > >   Submitted by:   beech
> > > 
> > > This breaks a lot of ports at least on 7-STABLE. GNU CPIO changes permissions
> > > to 0700 on the parent (and probably other) directoried in copy-out mode. After
> > > this change these directories end up with permissions 0700 instead of 755 as
> > > before. I think at least the part that changed permissions for directories
> > > in the target dir to 0755 should be restored.
> > > 
> > > I've not checked if the HEAD cpio shows the same behaviour as GNU cpio yet.
> > 
> > This would certainly be clearly visible on the exp-run.  Can you send me
> > a test-case?
> >
> 
> The port that currently fails for me is ruby-locale2. But I'm able to reproduce
> this with any port that uses copytree on 7.2. You can check this by hand
> by running `cpio -dumpl * some_dir/` where some_dir already exists. You should
> end up with permissions 0700 on that dir.
> 
> I'll try to dig deeper on evening.

I went to ruby-locale2 port, made 'make install clean'
and /usr/local/share/examples/ruby18 is still 0755

drwxr-xr-x  16 root  wheel  1536  9 črv 17:56 ruby18

This is with FreeBSD 7.2-STABLE #0: Tue May 12 12:43:34 CEST 2009.
Might be a local issue at your place?

-- 
Pav Lucistnik <pav@oook.cz>
              <pav@FreeBSD.org>

42.7 percent of all statistics are made up on the spot.

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (FreeBSD)

iEYEABECAAYFAkouhlsACgkQntdYP8FOsoKY1wCePFEMC6a4titbNKrvbz+aYmFx
OncAnRlzYsVWegTi2a4lFUuygsXkttGB
=LNCv
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1244563035.33181.10.camel>