On Tue, 09 Jun 2009 17:11:09 +0200
Pav Lucistnik <[email protected]> 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.
 
> BTW find -exec chmod 755 is still part of the code...
> 

Yeah, but it only fix permissions on files that have been actually installed...

-- 
Stanislav Sedov
ST4096-RIPE

Attachment: pgpZTIoSoZAUO.pgp
Description: PGP signature

Reply via email to