Too eager permission check
blaggacao opened this issue · 1 comments
blaggacao commented
Lines 84 to 87 in 3853e5c
This function implement a way too eager check on this unit:
layers.json> The file '/bin' already exists in the tar with perms []types.Perm(nil) but is overriden with perms []types.Perm{
types.Perm{
Regex:"/home/nobody",
Mode:"0744",
Uid:65534,
Gid:65534,
Uname:"nobody",
Gname:"nogroup"
},
types.Perm{
Regex:"/var/lib/frappix/(sites|config).*",
Mode:"0777",
Uid:65534,
Gid:65534,
Uname:"nobody",
Gname:"nobody"
}}
How to produce this unit?
coypToRoot = [ pkgs.coreutils ];
(has /bin)root = buildEnv { ... };
with another thing that has/bin
, while also usingroot
inperms = [{path = root; regex = "/var/lib/frappix/(sites|config).*"; ... }];
coypToRoot += [ root ];
whs-dot-hk commented
Hit similar error today, any workaround?