As you've discovered, cp doesn't preserve permissions. Using install -m755 is the idiom.
Ross On Mon, 15 Oct 2018 at 11:12, Belisko Marek <marek.beli...@gmail.com> wrote: > > Hi, > > I have package which contains bunch of scripts (with +x flag for > user). When installed in do_install method (simply by copying them to > destination) they loose +x flag. I know copying directly is not best > approach but there exists better way how to keep scripts permissions > like in repo (except calling install -m 755 for all of them)? Thanks. > > BR, > > marek > > -- > as simple and primitive as possible > ------------------------------------------------- > Marek Belisko - OPEN-NANDRA > Freelance Developer > > Ruska Nova Ves 219 | Presov, 08005 Slovak Republic > Tel: +421 915 052 184 > skype: marekwhite > twitter: #opennandra > web: http://open-nandra.com > -- > _______________________________________________ > yocto mailing list > yocto@yoctoproject.org > https://lists.yoctoproject.org/listinfo/yocto -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto