Skip to contentSkip to conversation

Default target file permissions ?

Buildroot Mark Jackson 2 participants 2 messages Oct 14, 2009

lore
Share & tools
lore
#0 lore raw

Is it possible to set the default perms for target files / directories ?

I know you can use the "device_table.txt" file, but I'd like *all* my files to be (say) 'chmod 755' apart from a few which I already spec via device_table.txt.

Any pointers ?

Thanks
Mark

#1 lore raw

Hello Mark:

In your Make file for a program, in the install target section you can set the file permissions.

Example,

install:

    $(INSTALL) -m -0755 my_program my_install_path

Best Regards,

Signature · 2 lines
Dan Pattison
Ethertek Circuits
Quoted 22 lines · Mark Jackson

Is it possible to set the default perms for target files / directories ?

I know you can use the "device_table.txt" file, but I'd like *all* my files to be (say) 'chmod 755' apart from a few which I already spec via device_table.txt.

Any pointers ?

Thanks
Mark
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

------------------------------------------------------------------------

No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.5.421 / Virus Database: 270.14.16/2435 - Release Date: 10/14/09 06:33:00