Hey everyone

TLDR: I think we should by default filter `dev` files from `tar` archives when 
staging.

I have a problem that I sometimes encounter: I want to use a stage3 archive as 
the basic for a
BuildStream project. Some of those tar files contain `dev` devices (/dev/* 
mainly), and I can
therefore not open them with BuildStream, since I am not root and therefore 
don't have enough
permissions for this.

Currently the only way of doing that with BuildStream is re-taring the file by 
myself.

I don't think that is a good user experience, and I also think that this is not 
the default expectation
when using BuildStream.

I'd therefore suggest two things:

- Add a `exclude-dev-nodes` option to `tar` to allow filtering out those 
special files
- Make this option true by default, since I think that is the default 
expectation in BuildStream?

What do you think?

Ben

Reply via email to