Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Changing permission recursively
@ 2015-03-12  9:08 Angelo Compagnucci
  2015-03-12 12:41 ` Matthew Weber
  2015-03-12 17:55 ` Baruch Siach
  0 siblings, 2 replies; 12+ messages in thread
From: Angelo Compagnucci @ 2015-03-12  9:08 UTC (permalink / raw)
  To: buildroot

Deal All,

I'm in the process of building a rootfs for a custom application and
wondering the best way to change permissions recursively for a
directory.

What I'm trying to achieve is to add some files via an overlay, but
files should have a specific owner/permission which should be read
from the buildroot's users table.

I cannot find something like that in the documentation. Instead, the
documentation specifies how to add single files and change
owner/permission accordingly.

If I understand correctly, I should create a new user (if necessary)
with a specific UDI/GID and than use a POST_INSTALL_TARGET to change
permission using that UID/GID.
Alternatively, I can use FOO_PERMISSIONS with a per file granularity.

Is this correct?

Thanks!

Sincerely, Angelo

-- 
Profile: http://it.linkedin.com/in/compagnucciangelo

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2015-03-13 10:59 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-12  9:08 [Buildroot] Changing permission recursively Angelo Compagnucci
2015-03-12 12:41 ` Matthew Weber
2015-03-12 13:53   ` Angelo Compagnucci
2015-03-12 17:55 ` Baruch Siach
2015-03-12 20:32   ` Arnout Vandecappelle
2015-03-13  6:32     ` Thomas Petazzoni
2015-03-13  6:40       ` Angelo Compagnucci
2015-03-13  6:31   ` Thomas Petazzoni
2015-03-13  6:46     ` Angelo Compagnucci
2015-03-13 10:27       ` Baruch Siach
2015-03-13 10:53         ` Thomas Petazzoni
2015-03-13 10:59           ` Angelo Compagnucci

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox